Moved nuspec to build stage, pack to deploy stage
This commit is contained in:
parent
5071bb62a4
commit
dbcac749a3
2 changed files with 7 additions and 4 deletions
|
|
@ -8,19 +8,22 @@ build:
|
|||
script:
|
||||
- npm install
|
||||
- npm run release
|
||||
- chmod +x ./app/make-nupkg.sh
|
||||
- ./app/make-nupkg.sh
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- release-builds/*.exe
|
||||
- release-builds/*.deb
|
||||
- release-builds/*.AppImage
|
||||
- release-builds/*.nuspec
|
||||
- release-builds/*.ps1
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
image: patrickhuber/choco-linux
|
||||
script:
|
||||
- chmod +x ./app/make-nupkg.sh
|
||||
- ./app/make-nupkg.sh
|
||||
- choco pack --allow-unofficial --outputdirectory "./release-builds/choco" "./release-builds/choco/openflexure-ev.nuspec"
|
||||
artifacts:
|
||||
paths:
|
||||
- release-builds/*.nuspec
|
||||
- release-builds/*.nupkg
|
||||
|
|
@ -68,4 +68,4 @@ instPS1="Install-ChocolateyPackage $packageName $fileType $silentArgs $instURL"
|
|||
echo $instPS1 > "$toolspath/chocolateyInstall.ps1"
|
||||
|
||||
# Build nupkg
|
||||
choco pack --allow-unofficial --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