Updated CI/CD to use ReleaseBot

This commit is contained in:
Zakary Timson 2023-03-20 20:07:18 +00:00
parent 78a4471453
commit 99f09c6ac6

View File

@ -69,7 +69,7 @@ tag:
entrypoint: [ "" ]
cache: [ ]
before_script:
- git remote set-url origin https://Tagger:$DEPLOY_TOKEN@gitlab.zakscode.com/$CI_PROJECT_PATH.git
- git remote set-url origin https://ReleaseBot:$DEPLOY_TOKEN@gitlab.zakscode.com/$CI_PROJECT_PATH.git
script:
- VERSION=$(cat package.json | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+')
- git tag -f $VERSION $CI_COMMIT_SHA