Skip to content

Set up release process #15

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

Open
Firehed opened this issue Feb 2, 2024 · 2 comments
Open

Set up release process #15

Firehed opened this issue Feb 2, 2024 · 2 comments

Comments

@Firehed
Copy link
Contributor

Firehed commented Feb 2, 2024

Ideally, I would like this to be done purely in GHA. There's very likely some off-the-shelf system to manage this.

Rough vision:
Actions > Create Release
Type: Major, Minor, Patch(default)
Source branch: main

When run, it would:

  • check out the code
  • bump the version in package.json (and lock?) based on the release type
  • create a git tag matching the new version
  • push both, create a (draft?) release in github using this tag
  • publish to npm

There's probably some stuff that doesn't flow quite right in there, but that's the general concept.

Realistically a major version is important enough that automating it may be a bad idea. TBD.

@Firehed
Copy link
Contributor Author

Firehed commented Aug 2, 2024

Looks like most of this can be done via the npm version [...] command. It will both bump the version and tag the commit. From there, it needs to be published, and possibly have some vX.Y.Z-next set up for future commits.

@Firehed
Copy link
Contributor Author

Firehed commented Oct 17, 2024

There is also the current minor snag of updating the version referenced in the README, but that can probably get reworded to make it a nonissue.

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

No branches or pull requests

1 participant