fix: add sbot to path

This commit is contained in:
Blair Vanderlugt 2021-09-07 16:38:11 -07:00
parent bdb825bfb8
commit bbc13fb03b

View File

@ -32,7 +32,7 @@ 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 - mkdir bin && echo "$(pwd)/bin" >> $PATH
- 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=$(sbot predict version)"