From 406f8c6846a192244c5ea8f13c9061c2503e318e Mon Sep 17 00:00:00 2001 From: Jafea7 Date: Sun, 31 Aug 2025 16:46:26 +1000 Subject: [PATCH] Update version --- CHANGELOG.md | 6 ++++ client/pom.xml | 2 +- common/pom.xml | 2 +- master/pom.xml | 2 +- server/pom.xml | 2 +- .../src/main/resources/html/static/index.html | 4 +-- update-version.sh | 29 ++++++++++++------- 7 files changed, 31 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f277610..d9b858cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ If this version doesn't do what you want, don't use it ... simple. Changes from 0xb00bface's v5.3.0 version. +25.08.31 +======================== +* Fix for SC Streams +* Add CAMBB search +* Adjust server heapsize and Xmx value to 4GB + 25.05.29 ======================== * Updated Help tab layout a little, now displays WAN IP if it can get it diff --git a/client/pom.xml b/client/pom.xml index e312fb6e..1901ac47 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -8,7 +8,7 @@ ctbrec master - 25.05.29 + 25.8.31 ../master diff --git a/common/pom.xml b/common/pom.xml index a7a8ba01..e1ed0f0b 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -8,7 +8,7 @@ ctbrec master - 25.05.29 + 25.8.31 ../master diff --git a/master/pom.xml b/master/pom.xml index d241c5a6..171c1c31 100644 --- a/master/pom.xml +++ b/master/pom.xml @@ -11,7 +11,7 @@ ctbrec master pom - 25.05.29 + 25.8.31 ../common diff --git a/server/pom.xml b/server/pom.xml index a998290a..b4cd7f90 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -8,7 +8,7 @@ ctbrec master - 25.05.29 + 25.8.31 ../master diff --git a/server/src/main/resources/html/static/index.html b/server/src/main/resources/html/static/index.html index 5ba7a2cd..baab8940 100644 --- a/server/src/main/resources/html/static/index.html +++ b/server/src/main/resources/html/static/index.html @@ -7,9 +7,9 @@ - + - CTB Recorder 5.3.2 + CTB Recorder 25.8.31 diff --git a/update-version.sh b/update-version.sh index a202f131..5d3bdf06 100755 --- a/update-version.sh +++ b/update-version.sh @@ -1,21 +1,30 @@ #!/bin/bash -# Usage: ./update-version.sh 1.2.3 -NEW_VERSION=$1 +# Usage: ./update-version.sh 25.08.29 +INPUT_VERSION=$1 -if [[ -z "$NEW_VERSION" ]]; then - echo "Usage: $0 " - exit 1 +if [[ -z "$INPUT_VERSION" ]]; then + echo "Usage: $0 " + exit 1 fi -pushd ./master -echo "Updating Maven project version to $NEW_VERSION..." +# Convert to Launch4j-safe version +IFS='.' read -r YY MM DD <<< "$INPUT_VERSION" +YY=$((10#$YY)) +MM=$((10#$MM)) +DD=$((10#$DD)) +SAFE_VERSION="${YY}.${MM}.${DD}" + +echo "Updating Maven project version to $SAFE_VERSION..." + +pushd ./master || exit 1 # Step 1: Update the parent POM and all modules -mvn versions:set -DnewVersion="$NEW_VERSION" +mvn versions:set -DnewVersion="$SAFE_VERSION" # Step 2: Commit changes mvn versions:commit -echo "Version updated to $NEW_VERSION in all modules." -popd +echo "Version updated to $SAFE_VERSION in all modules." + +popd || exit 1