Skip to content

Commit 609c22b

Browse files
authored
refactor: auto retrieve version from pom (#37)
1 parent 6fb27a7 commit 609c22b

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ CeresDB is a high-performance, distributed, schema-less, cloud native time-serie
102102
<dependency>
103103
<groupId>io.ceresdb</groupId>
104104
<artifactId>ceresdb-all</artifactId>
105-
<version>0.1.0-RC</version>
105+
<version>0.1.0</version>
106106
</dependency>
107107
```
108108

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
client.version=0.1.0
1+
client.version=${revision}

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<proto-internal.version>0.1.0</proto-internal.version>
7878
<protobuf.version>3.21.7</protobuf.version>
7979
<!-- according to https://maven.apache.org/maven-ci-friendly.html -->
80-
<revision>0.1.0</revision>
80+
<revision>0.2.0-alpha</revision>
8181
<slf4j.version>1.7.21</slf4j.version>
8282
</properties>
8383

@@ -484,6 +484,12 @@
484484
</executions>
485485
</plugin>
486486
</plugins>
487+
<resources>
488+
<resource>
489+
<directory>src/main/resources</directory>
490+
<filtering>true</filtering>
491+
</resource>
492+
</resources>
487493
</build>
488494

489495
</project>

0 commit comments

Comments
 (0)