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

[Backport v1.x] Add support for publishing legacy versions in release script #233

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

inngest-release-bot
Copy link
Collaborator

Backport 55c3b1c from #230.

## Summary

Releasing earlier versions to npm is a pain. This PR ensures we:

1. Find the actual latest version of the package
2. Publish the legacy version using the `latest` tag, ensuring semver
updates work as expected
3. Re-tag `latest` as the version found in step 1

Following this, we should be ready to support backporting and legacy
releases purely with labels and PRs. 🥳

## Related

- mermaid-js/mermaid#4200
- bower/bower#2041
- npm/npm#6778

(cherry picked from commit 55c3b1c)
@changeset-bot
Copy link

changeset-bot bot commented Jun 12, 2023

⚠️ No Changeset found

Latest commit: c8b9c90

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jpwilliams jpwilliams self-assigned this Jun 12, 2023
@jpwilliams jpwilliams merged commit f2332cf into v1.x Jun 12, 2023
16 checks passed
@jpwilliams jpwilliams deleted the backport-230-to-v1.x branch June 12, 2023 12:46
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.

None yet

2 participants