mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 14:05:39 +00:00
WORKFLOW: fixing version extrator - fix3
This commit is contained in:
parent
16c70c8242
commit
8682761c6c
3
.github/workflows/cooker-selfhosted.yml
vendored
3
.github/workflows/cooker-selfhosted.yml
vendored
|
@ -66,8 +66,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
source automation_tools/version_extractor.sh
|
source automation_tools/version_extractor.sh
|
||||||
MANIFEST_VERSION="$(fetch_manifest_version)"
|
MANIFEST_VERSION="$(fetch_manifest_version)"
|
||||||
echo "$MANIFEST_VERSION"
|
echo "MANIFEST_VERSION=$MANIFEST_VERSION" >> $GITHUB_ENV
|
||||||
echo "MANIFEST_VERSION=$(fetch_manifest_version)" >> $GITHUB_ENV
|
|
||||||
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