mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-02-16 19:35:39 +00:00
WORKFLOW: integrating new versioning flow with tags and single cooker branch - fix2
This commit is contained in:
parent
ef5ff4a8a4
commit
3adc2feba8
2
.github/workflows/cooker-selfhosted.yml
vendored
2
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -65,7 +65,7 @@ jobs:
|
||||||
- name: "Generate version tag"
|
- name: "Generate version tag"
|
||||||
run: |
|
run: |
|
||||||
source automation_tools/version_extractor.sh
|
source automation_tools/version_extractor.sh
|
||||||
manifest_version=${$fetch_manifest_version}
|
manifest_version="$($fetch_manifest_version)"
|
||||||
if [[ "$BRANCH_NAME" == 'refs/'* ]]; then
|
if [[ "$BRANCH_NAME" == 'refs/'* ]]; then
|
||||||
pr_number=$(echo ${{env.BRANCH_NAME}} | awk -F'/' '{print $3}')
|
pr_number=$(echo ${{env.BRANCH_NAME}} | awk -F'/' '{print $3}')
|
||||||
source_branch=$(curl -s "https://api.github.com/repos/XargonWan/RetroDECK/pulls/$pr_number" | jq -r '.head.ref')
|
source_branch=$(curl -s "https://api.github.com/repos/XargonWan/RetroDECK/pulls/$pr_number" | jq -r '.head.ref')
|
||||||
|
|
Loading…
Reference in a new issue