Fix tagging
This commit is contained in:
2
.github/workflows/ant-latest.yml
vendored
2
.github/workflows/ant-latest.yml
vendored
@@ -13,6 +13,8 @@ on:
|
||||
jobs:
|
||||
|
||||
nsis-jdk22:
|
||||
env:
|
||||
GITHUB_TAG: ${{ github.ref_name }}
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: Vampire/setup-wsl@v3
|
||||
|
||||
2
.github/workflows/ant.yml
vendored
2
.github/workflows/ant.yml
vendored
@@ -14,6 +14,8 @@ jobs:
|
||||
|
||||
nsis:
|
||||
runs-on: windows-latest
|
||||
env:
|
||||
GITHUB_TAG: ${{ github.ref_name }}
|
||||
steps:
|
||||
- uses: Vampire/setup-wsl@v3
|
||||
with:
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
|
||||
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-])
|
||||
if [ -z "$GITHUB_TAG" ]; then
|
||||
export GITHUB_TAG=$(git describe --tags --abbrev=0 | sed 's|i2p||g' | tr -d [a-z-])
|
||||
fi
|
||||
if [ -z "$VERSIONMAJOR" ]; then
|
||||
VERSIONMAJOR=$(echo "$GITHUB_TAG" | cut -d . -f 1)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user