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

chore: allow publishing new major of workspace without prerelease #6813

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

wraithgar
Copy link
Member

Previously the publish script assumed that a new major version of a
workspace would always be preceeded by a prerelease. This updates the
script so that a workspace will be published to the latest tag if it
is greater than the current latest major version.

This also fixes an issue where getting a version of a workspace could
fail if it is the first time being published to a new tag. The script
now catches this error and treats it like a workspace that needs
publishing.

Previously the publish script assumed that a new major version of a
workspace would always be preceeded by a prerelease. This updates the
script so that a workspace will be published to the `latest` tag if it
is greater than the current latest major version.

This also fixes an issue where getting a version of a workspace could
fail if it is the first time being published to a new tag. The script
now catches this error and treats it like a workspace that needs
publishing.
@wraithgar wraithgar requested a review from a team as a code owner September 15, 2023 17:07
@wraithgar wraithgar merged commit 512a239 into release/v9 Sep 15, 2023
@wraithgar wraithgar deleted the gar/6679-backport-v9 branch September 15, 2023 17:09
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.

2 participants