Enabled unofficial choco builds

This commit is contained in:
Joel Collins 2019-05-06 14:52:16 +01:00
parent 9a5868e817
commit 5071bb62a4

View file

@ -31,6 +31,7 @@ echo $version
# Build installer URL
instURL="$CI_JOB_URL/artifacts/browse/release-builds/openflexure-ev-win.exe"
echo $instURL
# Build nuspec
cat > "$outpath/openflexure-ev.nuspec" <<- EOL
@ -67,4 +68,4 @@ instPS1="Install-ChocolateyPackage $packageName $fileType $silentArgs $instURL"
echo $instPS1 > "$toolspath/chocolateyInstall.ps1"
# Build nupkg
choco pack --outputdirectory $outpath "$outpath/openflexure-ev.nuspec"
choco pack --allow-unofficial --outputdirectory $outpath "$outpath/openflexure-ev.nuspec"