Commit dbcac749 authored by Joel Collins's avatar Joel Collins
Browse files

Moved nuspec to build stage, pack to deploy stage

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