chore: Update git rev-parse command to use short=7 instead of short=8
This commit is contained in:
parent
e5404c091c
commit
467f64a9d7
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user