Updated tag token

This commit is contained in:
Zakary Timson 2022-09-20 14:46:55 -04:00
parent e89adf05e6
commit 3342e0e2c9

View File

@ -69,7 +69,7 @@ tag:
entrypoint: [ "" ]
cache: [ ]
before_script:
- git remote set-url origin http://gitlab-ci-token:$DEPLOY_TOKEN@gitlab.zakscode.com/$CI_PROJECT_PATH.git
- git remote set-url origin https://ztimson:$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