[CLOV-1284][maintenance]Change release ref #4211
Open
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.
This pr is raised to resolve the gap between changelog and the actual release content, see the context here:
The published npm package (41.9.0) was built from commit d6af21f (Phase 2: Basic Atomic Components PR #4179)
• But the git tag 41.9.0 points to an earlier commit (6bc2bcd)
• This means the data-backpack-ds-component attributes added to BpkText (and other components) are in the npm package but not reflected in the tag/changelog
this is because when tag is created there might be new pr merge in main, and the publish process would refer to the latest main code, in this pr, now the publish process would refer to the commit when tag is created and the prs merged into main afterwards would stay in draft
And for the reason why only the ref for release process has changed: Only the ReleaseWeb job actually builds and publishes the npm package, so modifying just that job ensures the published code matches the tag; modifying the other jobs is purely a performance optimization to avoid cache misses, not a functional requirement.
Remember to include the following changes:
[Clover-123][BpkButton] Updating the colourREADME.md(If you have created a new component)README.md