Skip to content

Commit

Permalink
fix: added workaround for creating release notes (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
rengare committed Mar 30, 2020
1 parent 4d41bc3 commit 2e4f615
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci-scripts/publish.sh
Expand Up @@ -11,7 +11,14 @@ git push "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG" ":$TRAVIS_BRANCH" > /d
std_ver=$(npm run std-version)
release_tag=$(echo "$std_ver" | grep "tagging release" | awk '{print $4}')

if [[ $release_tag =~ "v" ]]; then
echo ""
else
release_tag="v$release_tag"
fi

echo "$std_ver"
echo "$release_tag"

git push --follow-tags "https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG" master > /dev/null 2>&1;

Expand Down

0 comments on commit 2e4f615

Please sign in to comment.