5 Commits

3 changed files with 25 additions and 4 deletions

View File

@ -9,6 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
@ -20,6 +22,26 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: I2P-${{ github.sha }}.dmg
path: I2P-1.0.dmg
path: I2P-*.dmg
build-22:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 22
uses: actions/setup-java@v4
with:
java-version: '22'
distribution: 'temurin'
- name: build with script
run: ./build.sh
- name: Upload I2P-${{ github.sha }}.dmg
uses: actions/upload-artifact@v4
with:
name: I2P-${{ github.sha }}-22.dmg
path: I2P-*.dmg

View File

@ -1,6 +1,5 @@
#!/bin/bash
set -e
git pull --tags; true
git describe --tags `git rev-list --tags --max-count=1` || exit 1
export GITHUB_TAG=$(git describe --tags `git rev-list --tags --max-count=1` | sed 's|i2p||g' | tr -d a-z-)

View File

@ -9,9 +9,9 @@
# Uncomment/Edit this line to include the version number in the config file
I2P_VERSION=i2p-2.4.0
I2P_VERSION=i2p-2.7.0
# Uncomment/Edit this line to change the version number that you pass to jpackage
I2P_RELEASE_VERSION=2.4.0
I2P_RELEASE_VERSION=2.7.0
# Uncomment/Edit this line to include the build number in the config file
# I2P_BUILD_NUMBER=1