Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nuget/MyGet.ps1')
-rw-r--r--nuget/MyGet.ps19
1 files changed, 9 insertions, 0 deletions
diff --git a/nuget/MyGet.ps1 b/nuget/MyGet.ps1
new file mode 100644
index 0000000000..b3d9c8f778
--- /dev/null
+++ b/nuget/MyGet.ps1
@@ -0,0 +1,9 @@
+$nuget = $env:NuGet
+
+#parse the version number out of the Jekyll _config.yml
+$yaml = (Select-String $env:SourcesPath\_config.yml -pattern "current_version").ToString().Split(" ");
+$bsversion = $yaml[$yaml.Length - 1]
+
+#create packages
+& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
+& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion \ No newline at end of file