From a2fedee05fccc28ae3e1461af7aa33cab63f43b3 Mon Sep 17 00:00:00 2001 From: Maurizio Vitale Date: Mon, 2 Sep 2019 11:26:55 +0100 Subject: [PATCH] [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 --- scripts/travis/release/git-tag-beta.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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