snapauthapp / sdk-typescript

TypeScript/JavaScript SDK for SnapAuth
https://www.snapauth.app
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Set up release process #15

Open Firehed opened 9 months ago

Firehed commented 9 months ago

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:

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 commented 2 months ago

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 commented 1 week ago

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.