From 36405345cb5f64d9e3d949134c332eac777ae27c Mon Sep 17 00:00:00 2001 From: Arthur Chern Date: Thu, 12 Jan 2023 17:41:55 +0800 Subject: [PATCH] refactor: auto retrieve version from pom --- README.md | 2 +- .../src/main/resources/client_version.properties | 2 +- pom.xml | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1961680..0835f3a 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ CeresDB is a high-performance, distributed, schema-less, cloud native time-serie io.ceresdb ceresdb-all - 0.1.0-RC + 0.1.0 ``` diff --git a/ceresdb-protocol/src/main/resources/client_version.properties b/ceresdb-protocol/src/main/resources/client_version.properties index ee0059b..a19313b 100644 --- a/ceresdb-protocol/src/main/resources/client_version.properties +++ b/ceresdb-protocol/src/main/resources/client_version.properties @@ -1 +1 @@ -client.version=0.1.0 \ No newline at end of file +client.version=${revision} diff --git a/pom.xml b/pom.xml index 9795d55..f1eda01 100644 --- a/pom.xml +++ b/pom.xml @@ -77,7 +77,7 @@ 0.1.0 3.21.7 - 0.1.0 + 0.2.0-alpha 1.7.21 @@ -484,6 +484,12 @@ + + + src/main/resources + true + +