Skip to content

Commit 344f0f1

Browse files
committed
patch CompilationInfo.java
1 parent 5e622d7 commit 344f0f1

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

runme.bat

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
@echo off
22

33
REM Define versions in variables
4+
set "version_old=1.2026.4beta2"
5+
set "version_new=1.2026.4beta3"
6+
47
set "version_old=1.2026.3beta7"
5-
set "version_new=1.2026.3beta8"
8+
set "version_new=1.2026.4beta2"
9+
10+
set "version_old=1.2026.4beta3"
11+
set "version_new=1.2026.4beta4"
12+
613

714
REM Display versions for verification
815
echo Old version: %version_old%
@@ -11,7 +18,9 @@ echo New version: %version_new%
1118
REM Change directory and run Gradle to build the JAR
1219
cd ../plantuml
1320
echo Running Gradle task to build the JAR...
21+
call ./gradlew patchCompilationInfo
1422
call ./gradlew clean jar
23+
git restore src/main/java/net/sourceforge/plantuml/version/CompilationInfo.java
1524

1625
REM Check if the Gradle command succeeded
1726
IF %ERRORLEVEL% NEQ 0 (

runme.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ echo "New version: $version_new"
1313
# Change directory and run Gradle to build the JAR
1414
cd ../plantuml || { echo "Cannot cd to ../plantuml"; exit 1; }
1515
echo "Running Gradle task to build the JAR..."
16-
./gradlew jar
16+
./gradlew patchCompilationInfo
17+
./gradlew clean jar
18+
git restore src/main/java/net/sourceforge/plantuml/version/CompilationInfo.java
1719

1820
# Check if Gradle succeeded
1921
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)