Skip to content

Conversation

@rspurgeon
Copy link
Contributor

No description provided.

@rspurgeon
Copy link
Contributor Author

@pmalek Thanks for the feedback, tweaked the planning document based on the items you raised.

@rspurgeon rspurgeon marked this pull request as ready for review October 31, 2025 20:59
@rspurgeon rspurgeon changed the title docs: Details plan for rc builds Feat: Adds support for pre-release building Nov 3, 2025
pmalek
pmalek previously approved these changes Nov 3, 2025
Copy link
Member

@pmalek pmalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nits but otherwise this is good 👍

I'll leave this with you to apply the suggestions

Comment on lines 54 to 55
SEMVER_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(patch|minor|major)$' || echo "0")
PRERELEASE_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(rc|alpha|beta)$' || echo "0")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: you should be able to achieve this without the grep usage:

Suggested change
SEMVER_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(patch|minor|major)$' || echo "0")
PRERELEASE_COUNT=$(echo "$LABELS" | jq -r '.[]' | grep -cE '^(rc|alpha|beta)$' || echo "0")
SEMVER_COUNT=$(echo "$LABELS" | jq -r '[. []| select(test("^(patch|minor|major)$"))] | length')
PRERELEASE_COUNT=$(echo "$LABELS" | jq -r '[. []| select(test("^(rc|alpha|beta)$"))] | length')

Comment on lines 16 to 18
- '^docs:'
- '^test:'
- '^chore:'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- '^docs:'
- '^test:'
- '^chore:'
- '^docs:'
- '^test:'
- '^tests:'
- '^chore:'
- '^ci:'

@pmalek pmalek merged commit e7f4939 into main Nov 3, 2025
6 of 7 checks passed
@rspurgeon rspurgeon deleted the add-rc-builds branch November 3, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants