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

This commit is contained in:
XargonWan 2024-01-10 21:21:53 +01:00
parent b3e3577ff7
commit 29f3f06e8f

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 rev-parse --abbrev-ref HEAD) current_branch=$(git branch --contains $(git rev-parse HEAD) | grep -E '^\*' | awk '{print $2}')
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"