From 30199396630ce3a5f239a80fad83166ace53dbc3 Mon Sep 17 00:00:00 2001 From: Alex Kasko Date: Tue, 30 Jun 2026 23:24:29 +0100 Subject: [PATCH] Change snaphot version to 2.0-commit_id --- scripts/jdbc_maven_deploy_snapshot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/jdbc_maven_deploy_snapshot.py b/scripts/jdbc_maven_deploy_snapshot.py index 37f20e3df..cfad84212 100755 --- a/scripts/jdbc_maven_deploy_snapshot.py +++ b/scripts/jdbc_maven_deploy_snapshot.py @@ -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):