1
0

chore: Update git rev-parse command to use short=7 instead of short=8

This commit is contained in:
Natsu 2024-06-17 17:59:41 +07:00
parent e5404c091c
commit 467f64a9d7
Signed by: NatsumeLS
GPG Key ID: 6DB67FB460CF46C6

View File

@ -28,7 +28,7 @@ jobs:
- name: Write branch and commit info
run: |
branch=$(git rev-parse --abbrev-ref HEAD)
hash=$(git rev-parse --short=8 HEAD)
hash=$(git rev-parse --short=7 HEAD)
echo "$branch.$hash" > app/src/main/assets/gakumas-local/version.txt
- name: Grant execute permission for gradlew