Skip to content

Commit

Permalink
pick a release version for nightly master builds
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Aug 26, 2024
1 parent 3050624 commit e50c862
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion buildscripts/exe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ cd "$SCRIPT_DIR" || exit 1
. ./config.sh
. ./i2pversion
./buildscripts/build.sh
jpackage --name I2P-EXE --app-version "$I2P_VERSION" \
if echo "$I2P_VERSION" | grep "master"; then
RELEASE_VERSION="9.9.9"
else
RELEASE_VERSION="$I2P_VERSION"
fi
jpackage --name I2P-EXE --app-version "$RELEASE_VERSION" \
--verbose \
--java-options "-Xmx512m" \
--java-options "--add-opens java.base/java.lang=ALL-UNNAMED" \
Expand Down
7 changes: 6 additions & 1 deletion buildscripts/msi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ cd "$SCRIPT_DIR" || exit 1
. ./i2pversion

"$SCRIPT_DIR"/buildscripts/build.sh
jpackage --name I2P-MSI --app-version "$I2P_VERSION" \
if echo "$I2P_VERSION" | grep "master"; then
RELEASE_VERSION="9.9.9"
else
RELEASE_VERSION="$I2P_VERSION"
fi
jpackage --name I2P-MSI --app-version "$RELEASE_VERSION" \
--verbose \
--java-options "-Xmx512m" \
--java-options "--add-opens java.base/java.lang=ALL-UNNAMED" \
Expand Down

0 comments on commit e50c862

Please sign in to comment.