Skip to content

Commit

Permalink
Fetch tags before setting version
Browse files Browse the repository at this point in the history
  • Loading branch information
micbakos-rdx committed Feb 22, 2024
1 parent f044777 commit e727fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-jvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
run: |
echo $ANDROID_HOME
echo $ANDROID_NDK_HOME
git fetch --prune --tags
echo "SARGON_VERSION=`git tag --sort=taggerdate | tail -1`" >> $GITHUB_ENV
echo $SARGON_VERSION
- name: Build and publish Android
uses: RDXWorks-actions/gradle-build-action@main
Expand Down

0 comments on commit e727fdd

Please sign in to comment.