ci: Tell users which commit trigger the build

This commit is contained in:
Ahmad Ansori Palembani 2024-05-31 06:33:42 +07:00
parent 2fc6ab1b62
commit 999dd62386
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 3 additions and 2 deletions

View file

@ -72,7 +72,7 @@ jobs:
run: |
set -x
echo "VERSION_TAG=r$(git rev-list --count HEAD)" >> $GITHUB_ENV
echo "PREV_TAG=$(git tag -l | grep 'r' | tail -1)" >> $GITHUB_ENV
echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
# PROD
- name: Build release build and run tests
@ -180,6 +180,8 @@ jobs:
body: |
> [!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 }})
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.