From 6c5803b17b5816890f730e6519cd495670c05588 Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Sat, 4 Apr 2020 00:37:05 +0200 Subject: [PATCH] Maybe Chocolatey accepts this now --- .circleci/config.yml | 2 +- build.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 37ab2b8..7d1d225 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/build.ps1 b/build.ps1 index cfd37fd..6880fc0 100644 --- a/build.ps1 +++ b/build.ps1 @@ -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 .\