Skip to content

Commit 00f8462

Browse files
committed
reset to post0
1 parent 0aa2738 commit 00f8462

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/generate_version.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ n_commits_to_merge_base=$(git rev-list --count "${merge_base}".."${current_commi
2222

2323
# NOTE:
2424
# - we develop using post-release versioning
25-
# - i.e. 1.2.3.post3.devN where N is the number of commits with respect to last release 1.2.3)
25+
# - i.e. 1.2.3.post0.devN where N is the number of commits with respect to last release 1.2.3)
2626
# - Another approach would be using a pre-release version but we do not want to decide on that version
2727
# - the releases are of the type 1.2.3
2828
# - we never do post releases as 1.2.3.postX but instead use patches i.e. 1.2.4
2929
# - the releases are defined using git tags (that is the case with n_commits_to_merge_base=0 )
3030
# - SEE .github/workflows/publish-python-client.yml for more details
3131
#
3232
if [ "$n_commits_to_merge_base" -gt 0 ]; then
33-
echo "${released_version}.post3.dev${n_commits_to_merge_base}"
33+
echo "${released_version}.post0.dev${n_commits_to_merge_base}"
3434
elif [ "$n_commits_to_merge_base" -eq 0 ]; then
3535
echo "${released_version}"
3636
else

0 commit comments

Comments
 (0)