Skip to content

Commit 76d930a

Browse files
committed
ci(release): fix release workflow RC version condition
Corrects the conditional in the docs_release job to match '.0-rc.1' instead of '.0-rc1', ensuring proper handling of release candidate versions.
1 parent a68f3ff commit 76d930a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
docs_release:
105105
runs-on: ubuntu-latest
106106
needs: [lib_release,pre_config]
107-
if: needs.pre_config.outputs.is_rc == 'false' || (needs.pre_config.outputs.is_rc == 'true' && endsWith(needs.pre_config.outputs.version, '.0-rc1'))
107+
if: ${{ needs.pre_config.outputs.is_rc == 'false' || (needs.pre_config.outputs.is_rc == 'true' && endsWith(needs.pre_config.outputs.version, '.0-rc.1')) }}
108108
environment: release
109109
steps:
110110
- name: "Sync Versions on Read the Docs"

0 commit comments

Comments
 (0)