Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ronahk committed Jan 19, 2023
1 parent 7511ac7 commit 8a055f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
if ! [[ "$bump" =~ ^(major|minor|patch) ]]; then echo "Not a release commit" && exit 0; fi;
echo $bump > bump.txt
cat bump.txt
current="0.0.0"
current=$(gh release list | awk '{print $1}' | awk 'NR==1' | sed s/v//g)
next_version=$(semver-cli inc $bump $current)
echo "next_version is now $next_version"
Expand Down

0 comments on commit 8a055f7

Please sign in to comment.