PRE-BUILD-AUTOMATIONS: fixing HEAD not being consistent during the PRs - Try #2

This commit is contained in:
XargonWan 2024-01-10 21:26:45 +01:00
parent 29f3f06e8f
commit 4d871090af

View file

@ -15,7 +15,7 @@
rd_manifest=${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml rd_manifest=${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml
automation_task_list=${GITHUB_WORKSPACE}/automation_tools/automation_task_list.cfg automation_task_list=${GITHUB_WORKSPACE}/automation_tools/automation_task_list.cfg
current_branch=$(git branch --contains $(git rev-parse HEAD) | grep -E '^\*' | awk '{print $2}') current_branch=$(git symbolic-ref --short HEAD)
echo "Manifest location: $rd_manifest" echo "Manifest location: $rd_manifest"
echo "Automation task list location: $automation_task_list" echo "Automation task list location: $automation_task_list"