File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -241,11 +241,12 @@ jobs:
241
241
242
242
# Which branch is this workflow based on
243
243
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"
249
250
250
251
repo init --quiet --groups default --depth 1 -u ${{ inputs.repo_url }} -b $branch_name
251
252
repo sync --quiet --no-clone-bundle --no-tags --jobs $(nproc --all)
You can’t perform that action at this time.
0 commit comments