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 #6679

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

lukekarrys
Copy link
Contributor

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.
@lukekarrys lukekarrys requested a review from a team as a code owner July 26, 2023 21:19
@lukekarrys lukekarrys merged commit 05357c3 into latest Jul 26, 2023
18 of 19 checks passed
@lukekarrys lukekarrys deleted the lk/publish-script-new-major branch July 26, 2023 21:28
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