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.
16 lines
241 B
YAML
16 lines
241 B
YAML
stages:
|
|
- build
|
|
- deploy
|
|
|
|
build_releases:
|
|
stage: build
|
|
before_script:
|
|
- git submodule update --init
|
|
script:
|
|
- /bin/bash build-deb.sh
|
|
- /usr/local/bin/deploy-package -C pvc
|
|
only:
|
|
- tags
|
|
except:
|
|
- branches
|