mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-21 08:47:08 +02:00
Revert "ci: update git tag sorting"
This reverts commit 99e57aaffce0e2394329533822a726d4fa5741b0.
This commit is contained in:
parent
99e57aaffc
commit
b09e34bfae
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Get next version code
|
- name: Get next version code
|
||||||
id: next_ver_code
|
id: next_ver_code
|
||||||
run: |
|
run: |
|
||||||
TAG=$(git tag -l --sort=version:refname | tail -1)
|
TAG=$(git tag --sort=creatordate | tail -1)
|
||||||
if [ -z "$TAG" ]; then TAG=0; fi
|
if [ -z "$TAG" ]; then TAG=0; fi
|
||||||
echo "NEXT_VER_CODE=$((TAG + 1))" >> $GITHUB_OUTPUT
|
echo "NEXT_VER_CODE=$((TAG + 1))" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user