forked from mmbot/mmbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreatePackages.ps1
20 lines (16 loc) · 1.35 KB
/
CreatePackages.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$version = $args[0]
if(!$version){
throw "You need to specify a version number"
}
msbuild .\mmbot.sln /property:Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.Core\mmbot.Core.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.jabbr\mmbot.jabbr.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.hipchat\mmbot.hipchat.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.XMPP\mmbot.XMPP.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.Slack\mmbot.Slack.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.ScriptIt\mmbot.ScriptIt.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.Spotify\mmbot.Spotify.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.Router.Nancy\mmbot.Router.Nancy.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.RedisBrain\mmbot.RedisBrain.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\MMBot.AzureTableBrain\MMBot.AzureTableBrain.csproj -Version $version -Properties Configuration=Release
.\.nuget\nuget.exe pack .\mmbot.chocolatey.nuspec -Version $version -Properties Configuration=Release