fix: use relative path
This commit is contained in:
parent
bbc13fb03b
commit
21c48a7a5f
@ -32,12 +32,12 @@ build-push:
|
|||||||
#script:
|
#script:
|
||||||
# - TAG=$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA sh ./scripts/build-push.sh
|
# - TAG=$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA sh ./scripts/build-push.sh
|
||||||
script:
|
script:
|
||||||
- mkdir bin && echo "$(pwd)/bin" >> $PATH
|
- mkdir bin
|
||||||
- curl -o bin/sbot -L https://github.com/restechnica/semverbot/releases/download/v$SEMVERBOT_VERSION/sbot-linux-amd64
|
- curl -o bin/sbot -L https://github.com/restechnica/semverbot/releases/download/v$SEMVERBOT_VERSION/sbot-linux-amd64
|
||||||
- chmod +x bin/sbot
|
- chmod +x bin/sbot
|
||||||
- echo "RELEASE_VERSION=$(sbot predict version)"
|
- echo "RELEASE_VERSION=$(bin/sbot predict version)"
|
||||||
- sbot release version
|
- bin/sbot release version
|
||||||
- sbot push version
|
- bin/sbot push version
|
||||||
- TAG=RELEASE_VERSION sh ./scripts/build-push.sh
|
- TAG=RELEASE_VERSION sh ./scripts/build-push.sh
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_PROTECTED == "true"
|
- if: $CI_COMMIT_REF_PROTECTED == "true"
|
||||||
|
Loading…
Reference in New Issue
Block a user