Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion scripts/jdbc_maven_deploy_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ def get_snapshot_version():
# Fourth component is intentionally reset to 0 for SNAPSHOT versions
# Get short commit hash for traceability
commit_hash = run_cmd('git rev-parse --short HEAD')
# Override major and minor specifically for 2.0
major = 2
minor = 0
# Increment patch version and include commit hash
return f"{major}.{minor + 1}-{commit_hash}-SNAPSHOT"
return f"{major}.{minor}-{commit_hash}-SNAPSHOT"


def create_settings_xml(settings_path):
Expand Down
Loading