Compare commits

..

6 Commits

Author SHA1 Message Date
eyedeekay
a4ce1b9a8b Update version 2024-05-07 14:04:08 -04:00
eyedeekay
021c1cd1ba Fix CI files 2024-04-29 20:49:51 -04:00
eyedeekay
d06a8bb4bf fix CI sync file 2024-04-29 20:28:31 -04:00
eyedeekay
95c045e97c Bump version 2024-04-29 20:25:19 -04:00
eyedeekay
3047f70164 Sync using github CI 2024-04-29 20:11:39 -04:00
eyedeekay
c53baa20e9 Buildscript fixup 2024-04-29 20:09:51 -04:00
3 changed files with 37 additions and 9 deletions

22
.github/workflows/github-sync.yml vendored Normal file
View 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 }}

View File

@@ -4,17 +4,23 @@ JNA_VERSION=5.12.1
export JNA_VERSION=5.12.1
export GITHUB_TAG=$(git describe --tags --abbrev=0 | sed 's|i2p||g' | tr -d [a-z-])
VERSIONMAJOR=$(echo "$GITHUB_TAG" | cut -d . -f 1)
VERSIONMINOR=$(echo "$GITHUB_TAG" | cut -d . -f 2)
VERSIONBUILD=$(echo "$GITHUB_TAG" | cut -d . -f 3)
if [ -z "$VERSIONBUILD" ]; then
VERSIONBUILD=2
if [ -z "$VERSIONMAJOR" ]; then
VERSIONMAJOR=$(echo "$GITHUB_TAG" | cut -d . -f 1)
fi
if [ -z "$VERSIONMINOR" ]; then
VERSIONMINOR=4
VERSIONMINOR=$(echo "$GITHUB_TAG" | cut -d . -f 2)
fi
if [ -z "$VERSIONBUILD" ]; then
VERSIONBUILD=$(echo "$GITHUB_TAG" | cut -d . -f 3)
fi
if [ -z "$VERSIONMAJOR" ]; then
VERSIONMAJOR=0
VERSIONMAJOR=2
fi
if [ -z "$VERSIONMINOR" ]; then
VERSIONMINOR=5
fi
if [ -z "$VERSIONBUILD" ]; then
VERSIONBUILD=1
fi
I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"
export I2P_VERSION="$VERSIONMAJOR.$VERSIONMINOR.$VERSIONBUILD"

View File

@@ -1,3 +1,3 @@
!define VERSIONMAJOR 2
!define VERSIONMINOR 4
!define VERSIONBUILD 0
!define VERSIONMINOR 5
!define VERSIONBUILD 1