updated sbot config

This commit is contained in:
semvervot 2021-10-18 10:08:44 -07:00
parent 035531ba49
commit 1f50abe13c
1 changed files with 8 additions and 3 deletions

View File

@ -36,10 +36,15 @@ version:
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- curl -o sbot -L https://github.com/restechnica/semverbot/releases/download/v$SEMVERBOT_VERSION/sbot-linux-amd64
- chmod +x sbot
- ./sbot predict version -m git-commit
- export TAG=$(./sbot predict version)
- echo $TAG > version
- git remote set-url origin git@gitlab.com:grassrootseconomics/cic-internal-integration.git
- export TAG=$(./sbot predict version -m auto)
- |
if [[ -z $TAG ]]
then
echo "tag could not be set $@"
exit 1
fi
- echo $TAG > version
- git tag -a v$TAG -m "ci tagged"
- git push origin v$TAG
artifacts: