Standardize package building

1. Only build on GitLab when there's a tag.
2. Add the packages on GitLab to component "pvc" in the repo.
3. Add build-unstable-deb.sh script to build git-versioned packages.
4. Revamp build-and-deploy to use build-unstable-deb.sh and cut down on
   output.
This commit is contained in:
2020-08-26 11:04:58 -04:00
parent 78dec77987
commit fc9df76570
3 changed files with 62 additions and 22 deletions

View File

@ -2,12 +2,14 @@ stages:
- build
- deploy
build:
build_releases:
stage: build
before_script:
- git submodule update --init
script:
- /bin/bash build-deb.sh
- /usr/local/bin/deploy-package
- /usr/local/bin/deploy-package -C pvc
only:
- master
- tags
except:
- branches