Commit 5071bb62 authored by Joel Collins's avatar Joel Collins
Browse files

Enabled unofficial choco builds

parent 9a5868e8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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"
 No newline at end of file
choco pack --allow-unofficial --outputdirectory $outpath "$outpath/openflexure-ev.nuspec"
 No newline at end of file