diff --git a/.circleci/config.yml b/.circleci/config.yml
index 385bd24..c820d12 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -9,6 +9,7 @@ jobs:
environment:
version: '5.2.0'
binaryversion: '11'
+ build: '2'
steps:
- checkout
- run: iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
diff --git a/build.ps1 b/build.ps1
index 1930026..51ed974 100644
--- a/build.ps1
+++ b/build.ps1
@@ -1,8 +1,4 @@
-#Set-Variable -Name "version" -Value "4.12.0"
-#$version = '5.2.0'
-#$binaryversion=11
-
-# Building
+# Building
choco new chicken --version $Env:version --maintainername="'Daniel Ziltener'"
Remove-Item -Recurse -Force chicken\tools\
Remove-Item -Force chicken\ReadMe.md
@@ -54,7 +50,7 @@ foreach ($file in $files) {
cd ..
# Cleanup and packaging
Remove-Item -Recurse -Force chickenbuild
-(Get-Content chicken.nuspec).replace("CHICKEN_VERSION", "$Env:version") | Set-Content chicken\chicken.nuspec
+(Get-Content chicken.nuspec).replace("CHICKEN_VERSION", "$Env:version-$Env:build") | Set-Content chicken\chicken.nuspec
cd chicken
choco pack
cd ..
diff --git a/chicken.nuspec b/chicken.nuspec
index 153e673..f88691f 100644
--- a/chicken.nuspec
+++ b/chicken.nuspec
@@ -4,7 +4,7 @@