mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ADF-4860] Travis add tag beta on cron job (#5042)
* add the name and email values and push with the token * add the name and email values and push with the token
This commit is contained in:
parent
ce50e9a3d3
commit
a2fedee05f
@ -3,7 +3,10 @@
|
||||
VERSION=$(npm view @alfresco/adf-core@beta version)
|
||||
|
||||
echo "git tag -a ${VERSION} -m ${VERSION}"
|
||||
git config --local user.name "alfresco-build"
|
||||
git config --local user.email "build@alfresco.com"
|
||||
git tag -a ${VERSION} -m "${VERSION} [ci skip] "
|
||||
git remote rm origin
|
||||
git remote add origin 'https://$GITHUB_TOKEN:x-oauth-basic@github.com:Alfresco/alfresco-ng2-components.git'
|
||||
GITHUB_REPO=https://$GITHUB_TOKEN:x-oauth-basic@github.com/Alfresco/alfresco-ng2-components.git
|
||||
git remote add origin $GITHUB_REPO
|
||||
git push origin --tags
|
||||
|
Loading…
x
Reference in New Issue
Block a user