From 420ea94b4237a5ab5286fd60c9038b556a979aa3 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Mon, 20 May 2024 09:59:21 +0200 Subject: [PATCH] [DEV] update development tag --- .island/release.bash | 14 ++++++++++++-- pom.xml | 2 +- version.txt | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.island/release.bash b/.island/release.bash index 3de4179..0e9709f 100755 --- a/.island/release.bash +++ b/.island/release.bash @@ -1,4 +1,14 @@ #!/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 diff --git a/pom.xml b/pom.xml index b4a2408..797ea75 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 kangaroo-and-rabbit archidata - 0.8.10 + 0.8.11-SNAPSHOT 3.1 21 diff --git a/version.txt b/version.txt index ef50561..54d65da 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.8.10 +0.8.11-dev