Skip to content

Commit

Permalink
[chore] skip stable module check if unset (#10734)
Browse files Browse the repository at this point in the history
From
https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/release.md#releasing-opentelemetry-collector:

> If not intending to release stable modules, do not specify a version
for Release candidate version stable.

`validate-versions` workflow fails on empty version right now, it should
instead skip if stable module candidate version is empty.
  • Loading branch information
songy23 authored Jul 29, 2024
1 parent fb5b1e6 commit 6de4ce7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
validate_beta_version "${{ inputs.candidate-beta }}" "candidate-beta"
validate_beta_version "${{ inputs.current-beta }}" "current-beta"
validate_stable_version "${{ inputs.candidate-stable }}" "candidate-stable"
if [[ ! -z "${{ inputs.candidate-stable }}" ]]; then
validate_stable_version "${{ inputs.candidate-stable }}" "candidate-stable"
fi
validate_stable_version "${{ inputs.current-stable }}" "current-stable"
shell: bash

Expand Down

0 comments on commit 6de4ce7

Please sign in to comment.