From 6d6179a7ba8dac108f4bad4eb7366815193da484 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Thu, 22 Apr 2021 20:55:50 +0200 Subject: [PATCH] utils/functions: fix `release_prepare` helper --- plover_build_utils/functions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plover_build_utils/functions.sh b/plover_build_utils/functions.sh index 95fd472d3..8a738844c 100644 --- a/plover_build_utils/functions.sh +++ b/plover_build_utils/functions.sh @@ -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()