Skip to content

Commit 9263c10

Browse files
committed
Update feature branch version format to use .post suffix in generate_version_number.py
1 parent 2a88490 commit 9263c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/generate_version_number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_full_version() -> str:
127127
print(f"Commit count in master since last release: {count_in_master}", file=sys.stderr)
128128
short_hash = run_command(["git", "rev-parse", "--short", "HEAD"])
129129
# For feature branches, use the next patch number + commit hash
130-
full_version = f"{version_major_minor}.{int(count_in_master) + 1}+{short_hash}"
130+
full_version = f"{version_major_minor}.{int(count_in_master) + 1}.post{short_hash}"
131131

132132
return full_version
133133

0 commit comments

Comments
 (0)