Skip to content

Commit

Permalink
utils/functions: fix release_prepare helper
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed Apr 22, 2021
1 parent 378848a commit 6d6179a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plover_build_utils/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,9 @@ git_tree_sha1()
release_prepare()
{
[ $# -eq 1 ] || die 1 'expecting one argument: the new version'
version="$("$python" setup.py --version)"
run "$python" setup.py patch_version "$1"
run git add plover/__init__.py
run towncrier --version="$version" --yes
run towncrier --version="$1" --yes
}

release_finalize()
Expand Down

0 comments on commit 6d6179a

Please sign in to comment.