ci: remove --topo-order
argument to git-cliff
This commit is contained in:
parent
35c1e5401a
commit
96d83f9d86
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ if [ -n "$1" ]; then
|
|||
msg="# managed by release.sh"
|
||||
sed "s/^version = .* $msg$/version = \"${1#v}\" $msg/" -i Cargo.toml
|
||||
# update the changelog
|
||||
git cliff --topo-order --sort newest --unreleased --tag "$1" --prepend CHANGELOG.md
|
||||
git cliff --sort newest --unreleased --tag "$1" --prepend CHANGELOG.md
|
||||
git diff
|
||||
echo -e -n "\e[33mProceed? \e[0m"
|
||||
read -n 1 -s -p "[y/N] " proceed
|
||||
|
@ -39,7 +39,7 @@ if [ -n "$1" ]; then
|
|||
- {% if commit.breaking %}(breaking) {% endif %}{{ commit.message | upper_first }} ({{ commit.id | truncate(length=7, end=\"\") }})\
|
||||
{% endfor %}
|
||||
{% endfor %}"
|
||||
changelog=$(git cliff --topo-order --sort newest --unreleased --strip all)
|
||||
changelog=$(git cliff --sort newest --unreleased --strip all)
|
||||
git tag "$1" -m "Release $1" -m "$changelog"
|
||||
git show -q "$1"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue