Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ng-dev/release): only match on a single character prefixed version for snapshotting #449

Merged
merged 2 commits into from
Mar 5, 2022

Conversation

josephperrott
Copy link
Member

Previously we matched on all characters before our semver matching in the glob used for finding
the latest version for the branch we are on. However when the branch contains something like
zonejs-1.2.3, the * matcher would capture it, leading to an unexpected syntax. Instead we should
allow for only a single letter, typically v, to prefix our version tags.

cc: @AndrewKushnir

…n for snapshotting

Previously we matched on all characters before our semver matching in the glob used for finding
the latest version for the branch we are on.  However when the branch contains something like
zonejs-1.2.3, the * matcher would capture it, leading to an unexpected syntax.  Instead we should
allow for only a single letter, typically 'v', to prefix our version tags.
@josephperrott josephperrott added the action: merge The PR is ready for merge by the caretaker label Mar 4, 2022
@josephperrott josephperrott requested a review from devversion March 4, 2022 20:02
@devversion devversion added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Mar 4, 2022
josephperrott added a commit to josephperrott/angular that referenced this pull request Mar 4, 2022
josephperrott added a commit to josephperrott/angular that referenced this pull request Mar 4, 2022
@josephperrott josephperrott removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Mar 4, 2022
@josephperrott josephperrott self-assigned this Mar 4, 2022
josephperrott added a commit to josephperrott/angular that referenced this pull request Mar 4, 2022
josephperrott added a commit to josephperrott/angular that referenced this pull request Mar 4, 2022
AndrewKushnir pushed a commit to angular/angular that referenced this pull request Mar 4, 2022
AndrewKushnir pushed a commit to angular/angular that referenced this pull request Mar 4, 2022
@devversion devversion merged commit b555dd0 into angular:main Mar 5, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 5, 2022
@josephperrott josephperrott deleted the fix-env-snap branch August 10, 2022 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants