We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3292143 commit c58549eCopy full SHA for c58549e
scripts/git-tag.sh
@@ -1,12 +1,12 @@
1
#!/bin/bash
2
3
if [[ $TRAVIS_BRANCH == "master" ]]; then
4
- TAG_VERSION=$(npm view @alfresco/js-api@beta version)
+ VERSION=$(npm view @alfresco/js-api@beta version)
5
else
6
- TAG_VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
+ VERSION=$(cat package.json | grep version | head -1 | awk -F= "{ print $2 }" | sed 's/[version:,\",]//g' | tr -d '[[:space:]]')
7
fi;
8
9
-echo $TAG_VERSION
+echo $VERSION
10
11
echo "git tag -a ${VERSION} -m ${VERSION}"
12
git config --local user.name "eromano"
0 commit comments