ci(release): accept multiple crates in release-proposal-dispatch#2012
Open
iunanua wants to merge 2 commits into
Open
ci(release): accept multiple crates in release-proposal-dispatch#2012iunanua wants to merge 2 commits into
iunanua wants to merge 2 commits into
Conversation
Replace the single-choice `crate` input with a `crates` string input that accepts comma/whitespace-separated names, validated up front against publishable workspace members. Hotfix releases still require a single crate. Branch names collapse to `<first>+<N-1>-more` when more than one crate is selected; the PR title preserves the existing `chore(release): proposal for ` prefix. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
SC2001 (line 80): replace `sed 's/^/ - /' <<< "$AVAILABLE"` with
`printf ' - %s\n' "${AVAILABLE[@]}"` by making AVAILABLE an array; the
membership check uses `printf | grep -qxF` accordingly.
SC2170 (line 826): expose `validate-inputs.outputs.count` through the
step's existing `env:` block as `$CRATES_COUNT` so shellcheck sees a
shell variable instead of a literal `${{ ... }}` in the numeric test.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2012 +/- ##
==========================================
- Coverage 72.75% 72.69% -0.07%
==========================================
Files 452 452
Lines 74895 74930 +35
==========================================
- Hits 54489 54467 -22
- Misses 20406 20463 +57
🚀 New features to boost your workflow:
|
|
Contributor
Artifact Size Benchmark Reportaarch64-alpine-linux-musl
aarch64-unknown-linux-gnu
libdatadog-x64-windows
libdatadog-x86-windows
x86_64-alpine-linux-musl
x86_64-unknown-linux-gnu
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crateinput with acratesstring input that accepts comma- or whitespace-separated names.validate-inputsjob that normalizes (split → dedupe → sort), validates each name against publishable workspace members viacargo metadata, and rejects multi-crate + hotfix combinations up front.<first>+<N-1>-morewhen more than one crate is selected; existingrelease/*/*globs inrelease-proposal-test.ymland the gitlab branch filter continue to match.🤖 Generated with Claude Code