diff --git a/scripts/travis/release/git-tag-beta.sh b/scripts/travis/release/git-tag-beta.sh index b1a9ad3ec2..33325d5043 100755 --- a/scripts/travis/release/git-tag-beta.sh +++ b/scripts/travis/release/git-tag-beta.sh @@ -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