Skip to content

Commit

Permalink
ci: generate changelogs with commit-and-tag-version (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-siek authored Jan 13, 2024
1 parent 96e31ed commit 8ad70bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ oldVersion="$(node -pe 'require("./package.json").version')"
# If no release level is specified, let commit-and-tag-version handle versioning
if [ -z "$releaseLevel" ]
then
npx commit-and-tag-version --skip.commit=true --skip.changelog=true --skip.tag=true
npx commit-and-tag-version --skip.commit=true --skip.tag=true
else
npx commit-and-tag-version --release-as "$releaseLevel" --skip.commit=true --skip.changelog=true --skip.tag=true
npx commit-and-tag-version --release-as "$releaseLevel" --skip.commit=true --skip.tag=true
fi

newVersion="$(node -pe 'require("./package.json").version')"
Expand Down

0 comments on commit 8ad70bf

Please sign in to comment.