mirror of
https://github.com/orhun/git-cliff.git
synced 2024-11-29 05:14:41 +03:00
fix(release): use the correct argument in release script
This commit is contained in:
parent
deb0528d11
commit
b3eef4a688
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user