Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 3292143

Browse files
committed
fix url
1 parent fd2e0c0 commit 3292143

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/git-tag.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#!/bin/bash
22

33
if [[ $TRAVIS_BRANCH == "master" ]]; then
4-
TAG_VERSION=$(grep -m1 version package.json | awk '{ print $2 }' | sed 's/[", ]//g')
4+
TAG_VERSION=$(npm view @alfresco/js-api@beta version)
55
else
66
TAG_VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
77
fi;
88

99
echo $TAG_VERSION
1010

1111
echo "git tag -a ${VERSION} -m ${VERSION}"
12-
git config --local user.name "alfresco-build"
13-
git config --local user.email "build@alfresco.com"
12+
git config --local user.name "eromano"
13+
git config --local user.email "eugenioromano16@gmail.com"
1414
git tag -a ${VERSION} -m "${VERSION} [ci skip] "
1515
git remote rm origin
16-
GITHUB_REPO=https://$GITHUB_TOKEN:[email protected]/Alfresco/alfresco-ng2-components.git
16+
GITHUB_REPO=https://$GITHUB_TOKEN:[email protected]/Alfresco/alfresco-js-api.git
1717
git remote add origin $GITHUB_REPO
1818
git push origin --tags

0 commit comments

Comments
 (0)