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

build: Add manual republish of packages #154

Merged
merged 2 commits into from
Feb 18, 2025
Merged

build: Add manual republish of packages #154

merged 2 commits into from
Feb 18, 2025

Conversation

nzakas
Copy link
Member

@nzakas nzakas commented Feb 13, 2025

Prerequisites checklist

What is the purpose of this pull request?

Allow for manual republishing of packages.

What changes did you make? (Give an overview)

  • Added a new manual-publish.yml file that can be triggered by workflow dispatch, which goes through these steps:
    1. Finds the latest tag for the given package
    2. Checks out the latest tag
    3. Reads the version number from package.json
    4. Publishes to npm
    5. Publishes to JSR
    6. Tweets out release
  • Updated the new package tool to also edit manual-publish.yml

Related Issues

refs #153

Is there anything you'd like reviewers to focus on?

Sorry, something went wrong.

Copy link
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested the manual publishing on a fork without the other changes in #151 and I think it's working well except for the incomplete package.json path.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Co-authored-by: Francesco Trotta <github@fasttime.org>
Copy link
Member

@fasttime fasttime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! Feel free to merge this now, or after #151 is merged if that was the plan.

@nzakas nzakas merged commit 0c293bc into main Feb 18, 2025
18 checks passed
@nzakas nzakas deleted the dispath-publish branch February 18, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

None yet

2 participants