瀏覽代碼

Updates to release v4.3.2

Kartik Visweswaran 9 年之前
父節點
當前提交
bdea79210a
共有 2 個文件被更改,包括 12 次插入12 次删除
  1. 1 1
      nuget/Package.nuspec
  2. 11 11
      nuget/build.bat

+ 1 - 1
nuget/Package.nuspec

@@ -3,7 +3,7 @@
   <metadata>
     <id>bootstrap-fileinput</id>
 	<title>bootstrap-fileinput</title>
-    <version>4.3.2</version>
+    <version>4.3.2.1</version>
     <authors>Kartik Visweswaran</authors>
     <owners>Kartik Visweswaran</owners>
     <licenseUrl>https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md</licenseUrl>

+ 11 - 11
nuget/build.bat

@@ -13,23 +13,23 @@ mkdir content\Scripts
 REM create sub folders for css and img files
 mkdir content\Content
 mkdir content\Content\bootstrap-fileinput
-mkdir content\Content\bootstrap-fileinput\css
-mkdir content\Content\bootstrap-fileinput\img
 
 REM delete the previous package versions
-del bootstrap-fileinput.*
+REM del bootstrap-fileinput.*
 
 REM copy the content to the destination folders
-copy ..\js\*.js content\Scripts
-copy ..\css\*.css content\Content\bootstrap-fileinput\css
-copy ..\img\*.* content\Content\bootstrap-fileinput\img
+xcopy ..\js content\Scripts /D /E /C /R /I /K /Y 
+xcopy ..\css content\Content\bootstrap-fileinput\css /D /E /C /R /I /K /Y 
+xcopy ..\img content\Content\bootstrap-fileinput\img /D /E /C /R /I /K /Y 
+xcopy ..\themes content\Content\bootstrap-fileinput\themes /D /E /C /R /I /K /Y 
+xcopy ..\sass content\Content\bootstrap-fileinput\sass /D /E /C /R /I /K /Y 
 
 REM create a new package
 NuGet Pack Package.nuspec -Exclude NuGet.exe;build.bat
 
 REM Upload the new package
-for %%f in (bootstrap-fileinput.*) do (
-NuGet Push %%f
-rmdir /s /q content
-del %%f
-)
+REM for %%f in (content\Content\bootstrap-fileinput.*) do (
+REM NuGet Push %%f
+REM rmdir /s /q content
+REM del %%f
+REM )