Compare commits

..

17 Commits

Author SHA1 Message Date
eyedeekay
bb6b93a556 Switch back to old artifact naming scheme, that's not where the problem is 2024-10-25 16:02:11 -04:00
eyedeekay
72de4bc4df Tray and make artifacts which are correctly named and versioned 2024-10-20 15:45:02 -04:00
eyedeekay
f6026af5ba maximize fetch depth in CI 2024-08-29 17:09:52 -04:00
eyedeekay
cb450487f8 Attempt to build with Java 22 in CI 2024-08-29 16:44:38 -04:00
eyedeekay
c65aea0ed9 don't try to pull own tags 2024-08-09 10:00:58 -04:00
eyedeekay
ec03127603 ignore failure on pull tags 2024-07-21 23:42:23 -04:00
eyedeekay
fa6ebc8b94 pull tags 2024-07-21 23:20:55 -04:00
eyedeekay
08cec51dce disable fetch-tags 2024-07-21 23:14:48 -04:00
eyedeekay
6b493c8832 Don't pull tags in build.sh, if you're running locally you have them, let the CI file do it 2024-07-21 01:31:02 -04:00
eyedeekay
60a9fb156e run with a trailing qualifier on the tag 2024-07-21 00:27:56 -04:00
eyedeekay
14b66d8f25 try listing all tags across all branches 2024-07-21 00:16:07 -04:00
eyedeekay
3e993e72c6 try fetch-tags=true 2024-07-21 00:12:41 -04:00
eyedeekay
78339ad6eb try --always 2024-07-21 00:09:10 -04:00
eyedeekay
0cf574156a break on broken tags 2024-07-21 00:06:55 -04:00
eyedeekay
6a63970a7f fix tag read part of script 2024-07-20 23:44:59 -04:00
eyedeekay
b74e3ec5a5 Make sure tags are pulled before running build.sh 2024-07-20 23:36:36 -04:00
eyedeekay
5d0b85e869 Fix CI file 2024-07-20 23:34:28 -04:00
4 changed files with 29 additions and 6 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

@@ -6,7 +6,8 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '*.*.*' # Release 1.2.3
- 'i2p-mac-*.*.*' # Release 1.2.3
- 'i2p-mac-*.*.*-*' # Release 1.2.3
jobs:
build:

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -e
export GITHUB_TAG=$(git describe --tags --abbrev=0 | sed 's|i2p||g' | tr -d [a-z-])
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-)
if [ -z "$I2P_VERSION" ]; then
I2P_VERSION="i2p-$GITHUB_TAG"

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