Skip to content

Commit

Permalink
Merge pull request #1286 from benoit-pierre/fix_release_prepare_helper
Browse files Browse the repository at this point in the history
utils/functions: fix `release_prepare` helper
  • Loading branch information
benoit-pierre committed Apr 22, 2021
2 parents 378848a + 6d6179a commit c3c0d98
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 c3c0d98

Please sign in to comment.