Maybe Chocolatey accepts this now
This commit is contained in:
parent
414cffecc5
commit
6c5803b17b
2 changed files with 3 additions and 3 deletions
|
@ -27,4 +27,4 @@ jobs:
|
|||
- run: cd chickenbuild; $env:Path+=";C:\tools\msys64\mingw64\bin";$env:CFLAGS="-O2 -Wno-unused-variable -Wno-unused-but-set-variable"; mingw32-make.exe PLATFORM=mingw-msys ARCH=x86-64 PREFIX=C:/tools/chicken
|
||||
- run: .\build.ps1
|
||||
- run: choco apikey --key $Env:CHOCO_API_KEY --source https://push.chocolatey.org
|
||||
- run: choco push chicken.$Env:version-$Env:build.nupkg --source https://push.chocolatey.org
|
||||
- run: choco push chicken.$Env:version.$Env:build.nupkg --source https://push.chocolatey.org
|
||||
|
|
|
@ -50,8 +50,8 @@ foreach ($file in $files) {
|
|||
cd ..
|
||||
# Cleanup and packaging
|
||||
Remove-Item -Recurse -Force chickenbuild
|
||||
(Get-Content chicken.nuspec).replace("CHICKEN_VERSION", "$Env:version-$Env:build") | 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 ..
|
||||
mv .\chicken\chicken.$Env:version-$Env:build.nupkg .\
|
||||
mv .\chicken\chicken.$Env:version.$Env:build.nupkg .\
|
||||
|
|
Loading…
Reference in a new issue