ci: add commit id to title

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-08-06 09:12:10 +02:00
parent d1a222ea87
commit e03363df3d
2 changed files with 11 additions and 4 deletions

View file

@ -19,4 +19,6 @@ if [ -z "$CURRENT_COMMIT" ]; then
fi
echo "Updated $VAR from $CURRENT_COMMIT to ${LAST_COMMIT}." > "${VAR}_message.txt"
echo "https://github.com/$REPO/compare/${CURRENT_COMMIT}..${LAST_COMMIT}" >> "${VAR}_message.txt"
echo "" >> "${VAR}_message.txt"
echo "Diff URL: https://github.com/$REPO/compare/${CURRENT_COMMIT}..${LAST_COMMIT}" >> "${VAR}_message.txt"
echo "${LAST_COMMIT}" >> "${VAR}_commit.txt"