From 97bb0f2e74c8a9bc26be6482f7f6b669fc1f6bd9 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Sat, 1 Jun 2024 09:06:28 +0700 Subject: [PATCH] ci: Show only the short commit hash --- .github/workflows/build_push.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index dd2ab095f7..723518208a 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -73,6 +73,7 @@ jobs: set -x echo "VERSION_TAG=r$(git rev-list --count HEAD)" >> $GITHUB_ENV echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV + echo "COMMIT_SHORT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV # PROD - name: Build release build and run tests @@ -181,7 +182,7 @@ jobs: > [!CAUTION] > _**This alpha version is for testing only!**_ > - > This build is triggered by commit [${{ env.COMMIT_HASH }}](https://github.com/null2264/yokai/commit/${{ env.COMMIT_HASH }}) + > This build is triggered by commit [`${{ env.COMMIT_SHORT_HASH }}`](https://github.com/null2264/yokai/commit/${{ env.COMMIT_HASH }}) It is not ready for daily use and we do not guarantee its usability. Please download the latest stable releases instead (https://github.com/null2264/yokai/releases/latest). If you insist, please be sure to ALWAYS backup before updating.