[DEV] update development tag

This commit is contained in:
Edouard DUPIN 2024-05-20 09:59:21 +02:00
parent 604c76103f
commit 420ea94b42
3 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,14 @@
#!/bin/bash #!/bin/bash
version_file="version.txt"
mvn versions:set -DnewVersion=$(cat version.txt) # update the Maven version number
mvn versions:set -DnewVersion=$(sed 's/dev/SNAPSHOT/g' $version_file)
if grep -q "DEV" "$version_file"; then
# update all versions release of dependency
mvn versions:use-latest-releases
# update our manage dependency as snapshoot
mvn versions:use-latest-versions -Dincludes=kangaroo-and-rabbit
else
# update our manage dependency as release (must be done before)
mvn versions:use-latest-releases -Dincludes=kangaroo-and-rabbit
fi

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>kangaroo-and-rabbit</groupId> <groupId>kangaroo-and-rabbit</groupId>
<artifactId>archidata</artifactId> <artifactId>archidata</artifactId>
<version>0.8.10</version> <version>0.8.11-SNAPSHOT</version>
<properties> <properties>
<maven.compiler.version>3.1</maven.compiler.version> <maven.compiler.version>3.1</maven.compiler.version>
<maven.compiler.source>21</maven.compiler.source> <maven.compiler.source>21</maven.compiler.source>

View File

@ -1 +1 @@
0.8.10 0.8.11-dev