File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ set -eou pipefail
33
44current_version=$( jq -r ' .version' tools/spectral/ipa/package.json)
55
6- previous_version=$( git show origin/main :tools/spectral/ipa/package.json | jq -r ' .version' )
6+ previous_version=$( git show origin/" ${BASE_BRANCH} " :tools/spectral/ipa/package.json | jq -r ' .version' )
77
88if [[ -z " $previous_version " || " $previous_version " == " null" ]]; then
99 previous_version=" none"
Original file line number Diff line number Diff line change 2020
2121 - name : Fetch Versions
2222 id : version_check
23+ env :
24+ BASE_BRANCH : ${{ github.event.pull_request.base.ref }}
2325 run : |
2426 chmod +x ./.github/scripts/ipa_version_check.sh
2527 version_changed=$(./.github/scripts/ipa_version_check.sh)
You can’t perform that action at this time.
0 commit comments