File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11
11
# Creates PR with release only changes.
12
12
#
13
13
# Usage (run from root of project):
14
- # DRY_RUN=disabled ./scripts/release/apply-release-changes.sh
14
+ # TEST_INFRA_BRANCH=release/2.3 ./scripts/release/apply-release-changes.sh
15
15
#
16
- # RELEASE_VERSION: Version of this current release
16
+ # TEST_INFRA_BRANCH: The release branch of test-infra that houses all reusable
17
17
'
18
18
19
19
set -eou pipefail
37
37
echo " Applying release-only changes to workflows"
38
38
for i in .github/workflows/* .yml; do
39
39
if [[ " $OSTYPE " == " darwin" * ]]; then
40
- sed -i ' ' -e s#@main#@" ${RELEASE_BRANCH } " # $i;
41
- sed -i ' ' -e s#test-infra-ref:[[:space:]]main#" test-infra-ref: ${RELEASE_BRANCH } " # $i;
40
+ sed -i ' ' -e s#@main#@" ${TEST_INFRA_BRANCH } " # $i;
41
+ sed -i ' ' -e s#test-infra-ref:[[:space:]]main#" test-infra-ref: ${TEST_INFRA_BRANCH } " # $i;
42
42
else
43
- sed -i -e s#@main#@" ${RELEASE_BRANCH } " # $i;
44
- sed -i -e s#test-infra-ref:[[:space:]]main#" test-infra-ref: ${RELEASE_BRANCH } " # $i;
43
+ sed -i -e s#@main#@" ${TEST_INFRA_BRANCH } " # $i;
44
+ sed -i -e s#test-infra-ref:[[:space:]]main#" test-infra-ref: ${TEST_INFRA_BRANCH } " # $i;
45
45
fi
46
46
done
47
47
You can’t perform that action at this time.
0 commit comments