Skip to content

Commit 2ad239f

Browse files
authored
[docs_release.yaml] add comments (#15174)
1 parent b0acbda commit 2ad239f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs_release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
group: release-documentation-${{ github.ref }}
4949
cancel-in-progress: true
5050
steps:
51-
- name: Extract version
51+
- name: Extract version # cut off excessive symbols from the git branch name to create a short version name
5252
shell: bash
5353
run: echo "version=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | sed -e 's|stable-|v|g' -e 's|-|.|g' >> $GITHUB_OUTPUT
5454
id: extract_version
55-
- name: Set update-only-version
55+
- name: Set update-only-version # commits to only one branch need to update the default docs revision
5656
id: set-update-only-version
5757
run: |
5858
if [[ "${GITHUB_REF##*/}" == "main" ]]; then

0 commit comments

Comments
 (0)