Skip to content

Commit

Permalink
Bumping version number without npm in release Workflow (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
CatChen authored Oct 21, 2022
1 parent bbf7b1a commit 7fd2c09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ jobs:
then
git diff --name-only $BASE_TAG | xargs -n1 -I {} echo "::notice file={}:: File: {}"
npm version patch
HEAD_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
HEAD_TAG=$(echo $BASE_TAG | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.)
echo "::notice:: Head tag is $HEAD_TAG"
echo "::set-output name=head-tag::$HEAD_TAG"
Expand Down

0 comments on commit 7fd2c09

Please sign in to comment.