We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa0d44c commit e31c321Copy full SHA for e31c321
1 file changed
.github/workflows/api_refs.yaml
@@ -30,7 +30,10 @@ jobs:
30
# Strip leading 'v' to get a plain version number (e.g. 5.0.9)
31
version="${{ inputs.version }}"
32
version="${version#v}"
33
- base_branch="$(echo $version | sed 's/\(.*\..*\)\..*/\1/')"
+ base_branch="${{ inputs.base_branch }}"
34
+ if [ -z "$base_branch" ]; then
35
+ base_branch="$(echo $version | sed 's/\(.*\..*\)\..*/\1/')"
36
+ fi
37
work_branch="api_refs_v${version}"
38
39
if [[ "${{ inputs.use_dev_version }}" == "true" ]]; then
0 commit comments