Compare commits
1 Commits
master
...
i2p-firefo
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9f96c39053 |
11
.github/workflows/ant-latest.yml
vendored
11
.github/workflows/ant-latest.yml
vendored
@@ -1,20 +1,11 @@
|
|||||||
|
|
||||||
name: Java 22 CI
|
name: Java 22 CI
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *' # Every day at midnight UTC
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
nsis-jdk22:
|
nsis-jdk22:
|
||||||
env:
|
|
||||||
GITHUB_TAG: ${{ github.ref_name }}
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: Vampire/setup-wsl@v3
|
- uses: Vampire/setup-wsl@v3
|
||||||
|
11
.github/workflows/ant.yml
vendored
11
.github/workflows/ant.yml
vendored
@@ -1,21 +1,12 @@
|
|||||||
|
|
||||||
name: Java CI
|
name: Java CI
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *' # Every day at midnight UTC
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
nsis:
|
nsis:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
env:
|
|
||||||
GITHUB_TAG: ${{ github.ref_name }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: Vampire/setup-wsl@v3
|
- uses: Vampire/setup-wsl@v3
|
||||||
with:
|
with:
|
||||||
|
22
.github/workflows/github-sync.yml
vendored
Normal file
22
.github/workflows/github-sync.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# File: .github/workflows/github-sync.yml for i2p-hackers/i2p.firefox
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "*/5 * * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
repo-sync:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
- name: repo-sync
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
uses: repo-sync/github-sync@v2
|
||||||
|
with:
|
||||||
|
source_repo: "https://i2pgit.org/i2p-hackers/i2p.firefox"
|
||||||
|
source_branch: "master"
|
||||||
|
destination_branch: "master"
|
||||||
|
github_token: ${{ secrets.PAT }}
|
9
.github/workflows/release-nightly-latest.yml
vendored
9
.github/workflows/release-nightly-latest.yml
vendored
@@ -1,13 +1,6 @@
|
|||||||
name: Nightly Release
|
name: Nightly Release
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *' # Every day at midnight UTC
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
9
.github/workflows/release-nightly.yml
vendored
9
.github/workflows/release-nightly.yml
vendored
@@ -1,13 +1,6 @@
|
|||||||
name: Nightly 22 Release
|
name: Nightly 22 Release
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * *' # Every day at midnight UTC
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -1,5 +1,7 @@
|
|||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
|
#on: [push]
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# Sequence of patterns matched against refs/tags
|
# Sequence of patterns matched against refs/tags
|
||||||
|
66
.github/workflows/sync.yaml
vendored
66
.github/workflows/sync.yaml
vendored
@@ -1,66 +0,0 @@
|
|||||||
# GitHub Actions workflow file to sync an external repository to this GitHub mirror.
|
|
||||||
# This file was automatically generated by go-github-sync.
|
|
||||||
#
|
|
||||||
# The workflow does the following:
|
|
||||||
# - Runs on a scheduled basis (and can also be triggered manually)
|
|
||||||
# - Clones the GitHub mirror repository
|
|
||||||
# - Fetches changes from the primary external repository
|
|
||||||
# - Applies those changes to the mirror repository
|
|
||||||
# - Pushes the updated content back to the GitHub mirror
|
|
||||||
#
|
|
||||||
# Authentication is handled by the GITHUB_TOKEN secret provided by GitHub Actions.
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
sync:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Validate Github Actions Environment
|
|
||||||
run: if [ "$GITHUB_ACTIONS" != "true" ]; then echo 'This script must be run in a GitHub Actions environment.'; exit 1; fi
|
|
||||||
- name: Checkout GitHub Mirror
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Configure Git
|
|
||||||
run: |-
|
|
||||||
git config user.name 'GitHub Actions'
|
|
||||||
git config user.email 'actions@github.com'
|
|
||||||
- env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
name: Sync Primary Repository
|
|
||||||
run: |-
|
|
||||||
# Add the primary repository as a remote
|
|
||||||
git remote add primary https://i2pgit.org/I2P_Developers/i2p.firefox.git
|
|
||||||
|
|
||||||
# Fetch the latest changes from the primary repository
|
|
||||||
git fetch primary
|
|
||||||
|
|
||||||
# Check if the primary branch exists in the primary repository
|
|
||||||
if git ls-remote --heads primary master | grep -q master; then
|
|
||||||
echo "Primary branch master found in primary repository"
|
|
||||||
else
|
|
||||||
echo "Error: Primary branch master not found in primary repository"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check if we're already on the mirror branch
|
|
||||||
if git rev-parse --verify --quiet master; then
|
|
||||||
git checkout master
|
|
||||||
else
|
|
||||||
# Create the mirror branch if it doesn't exist
|
|
||||||
git checkout -b master
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Force-apply all changes from primary, overriding any conflicts
|
|
||||||
echo "Performing force sync from primary/master to master"
|
|
||||||
git reset --hard primary/master
|
|
||||||
|
|
||||||
|
|
||||||
# Push changes back to the mirror repository
|
|
||||||
git push origin master
|
|
||||||
name: Sync Primary Repository to GitHub Mirror
|
|
||||||
"on":
|
|
||||||
push: {}
|
|
||||||
schedule:
|
|
||||||
- cron: 0 * * * *
|
|
||||||
workflow_dispatch: {}
|
|
@@ -53,7 +53,7 @@ if [ ! -d "$SCRIPT_DIR/../i2p.i2p.jpackage-build/" ]; then
|
|||||||
git clone --depth=1 -b "$VERSION" -l "$SCRIPT_DIR/../i2p.i2p/" "$SCRIPT_DIR/../i2p.i2p.jpackage-build/"
|
git clone --depth=1 -b "$VERSION" -l "$SCRIPT_DIR/../i2p.i2p/" "$SCRIPT_DIR/../i2p.i2p.jpackage-build/"
|
||||||
else
|
else
|
||||||
echo cloning from remote i2p.i2p repository
|
echo cloning from remote i2p.i2p repository
|
||||||
git clone --depth=1 -b "$VERSION" https://i2pgit.org/I2P_Developers/i2p.i2p "$SCRIPT_DIR/../i2p.i2p.jpackage-build/"
|
git clone --depth=1 -b "$VERSION" https://i2pgit.org/i2p-hackers/i2p.i2p "$SCRIPT_DIR/../i2p.i2p.jpackage-build/"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cd "$SCRIPT_DIR/../i2p.i2p.jpackage-build/"
|
cd "$SCRIPT_DIR/../i2p.i2p.jpackage-build/"
|
||||||
|
@@ -1,7 +1,3 @@
|
|||||||
2025-06-05 idk
|
|
||||||
* Remove Chromium support completely. Much smaller binary now.
|
|
||||||
* Version 2.9.0
|
|
||||||
|
|
||||||
2023-01-23 idk
|
2023-01-23 idk
|
||||||
* Move build scripts to their own directory and make them use correct paths when moved
|
* Move build scripts to their own directory and make them use correct paths when moved
|
||||||
* Add EXTRA to router when generating embedded router jars.
|
* Add EXTRA to router when generating embedded router jars.
|
||||||
|
@@ -2,9 +2,8 @@
|
|||||||
|
|
||||||
JNA_VERSION=5.12.1
|
JNA_VERSION=5.12.1
|
||||||
export JNA_VERSION=5.12.1
|
export JNA_VERSION=5.12.1
|
||||||
if [ -z "$GITHUB_TAG" ]; then
|
|
||||||
export GITHUB_TAG=$(git describe --tags --abbrev=0 | sed 's|i2p||g' | tr -d [a-z-])
|
export GITHUB_TAG=$(git describe --tags --abbrev=0 | sed 's|i2p||g' | tr -d [a-z-])
|
||||||
fi
|
|
||||||
if [ -z "$VERSIONMAJOR" ]; then
|
if [ -z "$VERSIONMAJOR" ]; then
|
||||||
VERSIONMAJOR=$(echo "$GITHUB_TAG" | cut -d . -f 1)
|
VERSIONMAJOR=$(echo "$GITHUB_TAG" | cut -d . -f 1)
|
||||||
fi
|
fi
|
||||||
@@ -19,8 +18,8 @@ if [ -z "$VERSIONMAJOR" ]; then
|
|||||||
export I2P_VERSION="master"
|
export I2P_VERSION="master"
|
||||||
VERSION="master"
|
VERSION="master"
|
||||||
export VERSION="master"
|
export VERSION="master"
|
||||||
I2PFIREFOX_VERSION="2.9.0"
|
I2PFIREFOX_VERSION="2.8.2"
|
||||||
export I2PFIREFOX_VERSION="2.9.0"
|
export I2PFIREFOX_VERSION="2.8.2"
|
||||||
else
|
else
|
||||||
I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
||||||
export I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
export I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
|
||||||
|
Reference in New Issue
Block a user