Skip to content

Commit a42abde

Browse files
committed
Enable 4-part version number
DuckDB is using 3-part version number. Sometimes it may be necessary to make an updated JDBC release with the changes only in JDBC/JNI code keeping the engine version the same. For this it is proposed to add fourth component to version number for JDBC-specific changes. So the version is supposed to look like `v1.2.2.0`. Testing: JAR bundling with 4-part version was tested in a separare repo.
1 parent 4c92b74 commit a42abde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/jdbc_maven_deploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def exec(cmd):
3333
print("Usage: [release_tag, format: v1.2.3] [artifact_dir] [jdbc_root_path]")
3434
exit(1)
3535

36-
version_regex = re.compile(r'^v((\d+)\.(\d+)\.\d+)$')
36+
version_regex = re.compile(r'^v((\d+)\.(\d+)\.\d+\.\d+)$')
3737
release_tag = sys.argv[1]
3838
deploy_url = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
3939
is_release = True

0 commit comments

Comments
 (0)