Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Do not release prerelease components with the latest tag #107

Merged
merged 3 commits into from
Feb 15, 2021

Conversation

notlee
Copy link
Contributor

@notlee notlee commented Feb 3, 2021

Previously this did not work as expected as semver.coerce does not
appear to handle prerelease versions. Relates to:
npm/node-semver#357

Instead we can use semver.prerelease for our purposes.

We should improve test coverage here but I suspect this action
may disappear in the near future (either with a move to a mono
repo, or by extracting the bundle size notice and using a similar
approach to services for publishing).

Previously this did not work as expected as `semver.coerce` does not
appear to handle prerelease versions. Relates to:
npm/node-semver#357

Instead we can use `semver.prerelease` for our purposes.

We should improve test coverage here but I suspect this action
may disappear in the near future (either with a move to a mono
repo, or by extracting the bundle size notice and using a similar
approach to services for publishing).
@notlee notlee requested a review from a team as a code owner February 3, 2021 17:01
@notlee notlee added the release:beta Add to a PR to trigger a PRERELEASE version bump when merged label Feb 3, 2021
@github-actions github-actions bot added the cli Relates to an Origami cli label Feb 3, 2021
commands/release.js Outdated Show resolved Hide resolved
commands/release.js Outdated Show resolved Hide resolved
Co-authored-by: Jake Champion <me@jakechampion.name>
@notlee notlee requested a review from JakeChampion February 3, 2021 17:17
@JakeChampion JakeChampion merged commit 231dcc6 into version-3 Feb 15, 2021
@JakeChampion JakeChampion deleted the prerelease-latest branch February 15, 2021 17:25
@origamiserviceuser
Copy link
Contributor

🎉 This PR is included in version v3.0.0-beta.7 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli Relates to an Origami cli release:beta Add to a PR to trigger a PRERELEASE version bump when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants