ci: Show only the short commit hash

This commit is contained in:
Ahmad Ansori Palembani 2024-06-01 09:06:28 +07:00
parent 66c2e6f244
commit 97bb0f2e74
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -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.