From de79252f70dfc145b853530f328b0c6dfed3085f Mon Sep 17 00:00:00 2001
From: David Li
Date: Wed, 8 Feb 2023 16:14:47 -0500
Subject: [PATCH] chore: update versions for 0.2.0
---
c/cmake_modules/AdbcVersion.cmake | 2 +-
ci/linux-packages/debian/changelog | 6 ++++++
ci/linux-packages/yum/apache-arrow-adbc.spec.in | 3 +++
docs/source/conf.py | 2 +-
glib/meson.build | 2 +-
java/core/pom.xml | 2 +-
java/driver-manager/pom.xml | 2 +-
java/driver/flight-sql-validation/pom.xml | 2 +-
java/driver/flight-sql/pom.xml | 2 +-
java/driver/jdbc-validation-derby/pom.xml | 2 +-
java/driver/jdbc-validation-postgresql/pom.xml | 2 +-
java/driver/jdbc/pom.xml | 2 +-
java/driver/validation/pom.xml | 2 +-
java/pom.xml | 4 ++--
java/sql/pom.xml | 2 +-
ruby/lib/adbc/version.rb | 2 +-
16 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/c/cmake_modules/AdbcVersion.cmake b/c/cmake_modules/AdbcVersion.cmake
index de5f9f3a81..33d9384228 100644
--- a/c/cmake_modules/AdbcVersion.cmake
+++ b/c/cmake_modules/AdbcVersion.cmake
@@ -21,7 +21,7 @@
# ------------------------------------------------------------
# Version definitions
-set(ADBC_VERSION "0.2.0-SNAPSHOT")
+set(ADBC_VERSION "0.2.0")
string(REGEX MATCH "^[0-9]+\\.[0-9]+\\.[0-9]+" ADBC_BASE_VERSION "${ADBC_VERSION}")
string(REPLACE "." ";" _adbc_version_list "${ADBC_BASE_VERSION}")
list(GET _adbc_version_list 0 ADBC_VERSION_MAJOR)
diff --git a/ci/linux-packages/debian/changelog b/ci/linux-packages/debian/changelog
index cf82a62eca..14ffe6e429 100644
--- a/ci/linux-packages/debian/changelog
+++ b/ci/linux-packages/debian/changelog
@@ -1,3 +1,9 @@
+apache-arrow-adbc (0.2.0-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- David Li Wed, 08 Feb 2023 21:14:47 -0000
+
apache-arrow-adbc (0.1.0-1) unstable; urgency=low
* New upstream release.
diff --git a/ci/linux-packages/yum/apache-arrow-adbc.spec.in b/ci/linux-packages/yum/apache-arrow-adbc.spec.in
index 5d392d3774..5967623f3b 100644
--- a/ci/linux-packages/yum/apache-arrow-adbc.spec.in
+++ b/ci/linux-packages/yum/apache-arrow-adbc.spec.in
@@ -254,5 +254,8 @@ Documentation for ADBC GLib.
%{_docdir}/adbc-glib/
%changelog
+* Wed Feb 08 2023 David Li - 0.2.0-1
+- New upstream release.
+
* Mon Dec 26 2022 Sutou Kouhei - 0.1.0-1
- New upstream release.
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 1bea470ab2..2267af0cbf 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -21,7 +21,7 @@
project = "ADBC"
copyright = "2022, Apache Arrow Developers"
author = "the Apache Arrow Developers"
-release = "0.2.0 (dev)"
+release = "0.2.0"
# Needed to generate version switcher
version = release
diff --git a/glib/meson.build b/glib/meson.build
index 5eda394342..b168ce0faf 100644
--- a/glib/meson.build
+++ b/glib/meson.build
@@ -23,7 +23,7 @@ project('adbc-glib',
'c_std=c99',
],
license: 'Apache-2.0',
- version: '0.2.0-SNAPSHOT')
+ version: '0.2.0')
version_numbers = meson.project_version().split('-')[0].split('.')
version_major = version_numbers[0].to_int()
diff --git a/java/core/pom.xml b/java/core/pom.xml
index a25c47e299..0d8764d250 100644
--- a/java/core/pom.xml
+++ b/java/core/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
adbc-core
diff --git a/java/driver-manager/pom.xml b/java/driver-manager/pom.xml
index 04cc6658a7..5d5bc21d5f 100644
--- a/java/driver-manager/pom.xml
+++ b/java/driver-manager/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
adbc-driver-manager
diff --git a/java/driver/flight-sql-validation/pom.xml b/java/driver/flight-sql-validation/pom.xml
index 05d844c39a..e131c898af 100644
--- a/java/driver/flight-sql-validation/pom.xml
+++ b/java/driver/flight-sql-validation/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
../../pom.xml
diff --git a/java/driver/flight-sql/pom.xml b/java/driver/flight-sql/pom.xml
index d5ca2b4d92..fe322acf24 100644
--- a/java/driver/flight-sql/pom.xml
+++ b/java/driver/flight-sql/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
../../pom.xml
diff --git a/java/driver/jdbc-validation-derby/pom.xml b/java/driver/jdbc-validation-derby/pom.xml
index 7cb41ec983..f6025e1739 100644
--- a/java/driver/jdbc-validation-derby/pom.xml
+++ b/java/driver/jdbc-validation-derby/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
../../pom.xml
diff --git a/java/driver/jdbc-validation-postgresql/pom.xml b/java/driver/jdbc-validation-postgresql/pom.xml
index 585a474a7c..b861ed015c 100644
--- a/java/driver/jdbc-validation-postgresql/pom.xml
+++ b/java/driver/jdbc-validation-postgresql/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
../../pom.xml
diff --git a/java/driver/jdbc/pom.xml b/java/driver/jdbc/pom.xml
index a87247e5ae..fd19661389 100644
--- a/java/driver/jdbc/pom.xml
+++ b/java/driver/jdbc/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
../../pom.xml
diff --git a/java/driver/validation/pom.xml b/java/driver/validation/pom.xml
index 810b5cab03..e355b0e69c 100644
--- a/java/driver/validation/pom.xml
+++ b/java/driver/validation/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
../../pom.xml
diff --git a/java/pom.xml b/java/pom.xml
index 9080454c8b..0390c8282c 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -20,7 +20,7 @@
org.apache.arrow.adbc
arrow-adbc-java-root
- 0.2.0-SNAPSHOT
+ 0.2.0
pom
Apache Arrow ADBC Java Root POM
@@ -29,7 +29,7 @@
10.0.0
- 0.2.0-SNAPSHOT
+ 0.2.0
diff --git a/java/sql/pom.xml b/java/sql/pom.xml
index 79c4094554..b8a9dd923a 100644
--- a/java/sql/pom.xml
+++ b/java/sql/pom.xml
@@ -14,7 +14,7 @@
arrow-adbc-java-root
org.apache.arrow.adbc
- 0.2.0-SNAPSHOT
+ 0.2.0
adbc-sql
diff --git a/ruby/lib/adbc/version.rb b/ruby/lib/adbc/version.rb
index 5629131ca5..19afd02a64 100644
--- a/ruby/lib/adbc/version.rb
+++ b/ruby/lib/adbc/version.rb
@@ -16,7 +16,7 @@
# under the License.
module ADBC
- VERSION = "0.2.0-SNAPSHOT"
+ VERSION = "0.2.0"
module Version
MAJOR, MINOR, MICRO, TAG = VERSION.split(".").collect(&:to_i)