generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 231
Closed
Description
This is the release cycle for one of my projects. I have multiple packages in a monorepo. For the release of any of the packages a new release branch is created and release dispatch workflow is triggered:
- Add commits with package version update, changelogs, etc.
- The workflow would build the package artefacts
- Create (or update for fixes) a draft release and attach the artefacts
- Run e2e tests
- Go to code freeze, have a release candidate, manual testing etc.
- On bug fixes, commits are pushed in the release branch, the old workflow is deleted and triggered again with the last commit (go back to 2 - build, update the draft etc.)
- Require approval for publish
- Upload the artefacts to a marketplace
- Update the draft to an official release, apply tags.
- Make a PR, merge any fixes in main
This plugin works really well, from my point of view, there only two things that are coming a bit short:
- Add a flag to allow updates only on draft and prereleases, and error the build when trying to update a release. Protect existing releases from being overridden from release builds triggered by mistake. Once things go to NPM there is no going back.
- By default the tags to target the current commit (the one that the git checkout would get) instead of the main branch.
There is a commit option, that I will be setting for this, but wouldn't that be a bit more reasonable default?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels