File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 description : ' Optional version to use (bypasses version bump and git commits if provided)'
88 required : false
99 default : " "
10- mfd-tag :
11- description : ' The MFD tag to use for API docs'
10+ mfd-ref :
11+ description : ' The MFD ref (branch, tag, or SHA) to use for API docs'
1212 required : false
1313 default : " "
1414
@@ -63,12 +63,12 @@ jobs:
6363 env :
6464 GITHUB_TOKEN : ${{ steps.generate-token.outputs.token }}
6565 run : |
66- MFD_TAG ='${{ inputs.mfd-tag }}'
67- if [[ -z "${MFD_TAG }" ]]; then
68- MFD_TAG =$(gh api /repos/cloudbeds/mfd/releases/latest | jq -r '.tag_name')
66+ MFD_REF ='${{ inputs.mfd-ref }}'
67+ if [[ -z "${MFD_REF }" ]]; then
68+ MFD_REF =$(gh api /repos/cloudbeds/mfd/releases/latest | jq -r '.tag_name')
6969 fi
70- echo "Latest MFD tag : $MFD_TAG "
71- gh api /repos/cloudbeds/mfd/tarball/$MFD_TAG | tar --strip-components=1 --wildcards -zxf - '*/public_accessa/api'
70+ echo "Using MFD ref : $MFD_REF "
71+ gh api /repos/cloudbeds/mfd/tarball/$MFD_REF | tar --strip-components=1 --wildcards -zxf - '*/public_accessa/api'
7272
7373 - name : Get next version
7474 run : |
You can’t perform that action at this time.
0 commit comments