Skip to content

[docs_release.yaml] add comments #15174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/docs_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
group: release-documentation-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Extract version
- name: Extract version # cut off excessive symbols from the git branch name to create a short version name
shell: bash
run: echo "version=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | sed -e 's|stable-|v|g' -e 's|-|.|g' >> $GITHUB_OUTPUT
id: extract_version
- name: Set update-only-version
- name: Set update-only-version # commits to only one branch need to update the default docs revision
id: set-update-only-version
run: |
if [[ "${GITHUB_REF##*/}" == "main" ]]; then
Expand Down