Updated tag token
This commit is contained in:
parent
e89adf05e6
commit
3342e0e2c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user