Enabled unofficial choco builds
This commit is contained in:
parent
9a5868e817
commit
5071bb62a4
1 changed files with 2 additions and 1 deletions
|
|
@ -31,6 +31,7 @@ echo $version
|
||||||
|
|
||||||
# Build installer URL
|
# Build installer URL
|
||||||
instURL="$CI_JOB_URL/artifacts/browse/release-builds/openflexure-ev-win.exe"
|
instURL="$CI_JOB_URL/artifacts/browse/release-builds/openflexure-ev-win.exe"
|
||||||
|
echo $instURL
|
||||||
|
|
||||||
# Build nuspec
|
# Build nuspec
|
||||||
cat > "$outpath/openflexure-ev.nuspec" <<- EOL
|
cat > "$outpath/openflexure-ev.nuspec" <<- EOL
|
||||||
|
|
@ -67,4 +68,4 @@ instPS1="Install-ChocolateyPackage $packageName $fileType $silentArgs $instURL"
|
||||||
echo $instPS1 > "$toolspath/chocolateyInstall.ps1"
|
echo $instPS1 > "$toolspath/chocolateyInstall.ps1"
|
||||||
|
|
||||||
# Build nupkg
|
# Build nupkg
|
||||||
choco pack --outputdirectory $outpath "$outpath/openflexure-ev.nuspec"
|
choco pack --allow-unofficial --outputdirectory $outpath "$outpath/openflexure-ev.nuspec"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue