Skip to content

Commit fa400d9

Browse files
committed
Set rebranch as default manifest location
1 parent f076ef1 commit fa400d9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,12 @@ jobs:
241241
242242
# Which branch is this workflow based on
243243
branch_version_string=${{ inputs.swift_version || '0.0.0' }}
244-
if [[ $branch_version_string == *.* ]]; then
245-
branch_name=$(echo ${branch_version_string} | awk -F. '{ ver=$1"."$2; print (ver == "0.0") ? "main" : "release/"ver }')
246-
else
247-
branch_name="release/$branch_version_string"
248-
fi
244+
#if [[ $branch_version_string == *.* ]]; then
245+
# branch_name=$(echo ${branch_version_string} | awk -F. '{ ver=$1"."$2; print (ver == "0.0") ? "main" : "release/"ver }')
246+
#else
247+
# branch_name="release/$branch_version_string"
248+
#fi
249+
branch_name="rebranch"
249250
250251
repo init --quiet --groups default --depth 1 -u ${{ inputs.repo_url }} -b $branch_name
251252
repo sync --quiet --no-clone-bundle --no-tags --jobs $(nproc --all)

0 commit comments

Comments
 (0)