Seems like global VERSION variable doesn't permeate job templates.

parent 10d63818
......@@ -7,26 +7,26 @@ stages:
armv5:
extends: .main
variables: {ARCH: armel, NAME: "borg-${VERSION}-armv5"}
variables: {ARCH: armel, NAME: "borg-${CI_COMMIT_TAG}-armv5"}
armv7:
extends: .main
variables: {ARCH: armv7hf, NAME: "borg-${VERSION}-armv7"}
variables: {ARCH: armv7hf, NAME: "borg-${CI_COMMIT_TAG}-armv7"}
arm64:
extends: .main
variables: {ARCH: aarch64, NAME: "borg-${VERSION}-arm64"}
variables: {ARCH: aarch64, NAME: "borg-${CI_COMMIT_TAG}-arm64"}
.main:
stage: build
only: [tags]
variables: {NAME: "borg-${VERSION}-${ARCH}"}
script:
- ./build.sh $ARCH $VERSION
- ./extract.sh $ARCH $VERSION $NAME
artifacts:
expire_in: 1 day
paths: [$NAME]
paths:
- borg-${VERSION}-*
deploy artifacts to bintray:
stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment