From 467f64a9d78f07a75925ffda8b7b858ebd39b6b2 Mon Sep 17 00:00:00 2001 From: Natsu Date: Mon, 17 Jun 2024 17:59:41 +0700 Subject: [PATCH] chore: Update git rev-parse command to use short=7 instead of short=8 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08e6671..8c1560e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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