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: [ "" ] entrypoint: [ "" ]
cache: [ ] cache: [ ]
before_script: 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: script:
- VERSION=$(cat package.json | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+') - VERSION=$(cat package.json | grep version | grep -Eo ':.+' | grep -Eo '[[:alnum:]\.\/\-]+')
- git tag -f $VERSION $CI_COMMIT_SHA - git tag -f $VERSION $CI_COMMIT_SHA