File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@ echo off
22
33REM Define versions in variables
4+ set " version_old = 1.2026.4beta2"
5+ set " version_new = 1.2026.4beta3"
6+
47set " 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
714REM Display versions for verification
815echo Old version: %version_old%
@@ -11,7 +18,9 @@ echo New version: %version_new%
1118REM Change directory and run Gradle to build the JAR
1219cd ../plantuml
1320echo Running Gradle task to build the JAR...
21+ call ./gradlew patchCompilationInfo
1422call ./gradlew clean jar
23+ git restore src/main/java/net/sourceforge/plantuml/version/CompilationInfo.java
1524
1625REM Check if the Gradle command succeeded
1726IF %ERRORLEVEL% NEQ 0 (
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ echo "New version: $version_new"
1313# Change directory and run Gradle to build the JAR
1414cd ../plantuml || { echo " Cannot cd to ../plantuml" ; exit 1; }
1515echo " 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
1921if [ $? -ne 0 ]; then
You can’t perform that action at this time.
0 commit comments