Skip to content

Commit

Permalink
fix(release): use the correct argument in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Apr 28, 2023
1 parent deb0528 commit b3eef4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sed -E -i "s/^version = .* $msg$/version = \"${1#v}\" $msg/" git-cliff*/Cargo.to
sed -E -i "s/\"version\": \".+\"/\"version\": \"${1#v}\"/" npm/git-cliff/package.json
sed -E -i "s/\"(git-cliff-.+)\": \".+\"/\"\1\": \"${1#v}\"/g" npm/git-cliff/package.json
# update the changelog
cargo run -- --config cliff.toml -tag "$1" >CHANGELOG.md
cargo run -- --config cliff.toml --tag "$1" >CHANGELOG.md
git add -A && git commit -m "chore(release): prepare for $1"
git show
# generate a changelog for the tag message
Expand Down

0 comments on commit b3eef4a

Please sign in to comment.