-
Notifications
You must be signed in to change notification settings - Fork 66
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
Simplified Workflow #272
Comments
Example automated changelog from GitHub for use in testing:
|
Basically we can look for If there's anything before What's Changed, we use that as front matter, to give space for some optional narrative docs. |
Another intermediate step is to fetch the latest draft GitHub release, which can be used as the default value for Publish Release as well. https://docs.github.com/en/rest/reference/releases#list-releases
|
New thought that will simplify both this workflow and the existing one, requiring a V2:
For the version that sits on a repo the only difference is that you wouldn't give the repo name or use a |
More notes on for the refactor:
|
I think as a first step that is backwards compatible I can add the mock GitHub server from https://github.com/blink1073/mock_github and use it in check-release and unit tests. Then I can do the same with verdaccio. The next step would be refactoring the actions/workflows and releasing a v2 tag for the actions. The CLI improvements can follow on later and result in a 1.0 release of the python library. |
Now that we have mock GitHub capability, we can do the following: Draft Changelog
Draft Release
Publish Release
The new names can be "Step 1: Prep Changelog", "Prep Release", and "Step 2: Publish Release" |
Problem
Proposed Solution
We could have an optional usage that works as follows:
By using a tag protection rule only users with Maintain and Admin roles would be able to publish.
We already have most of the building blocks to build the new action.
The action should check to see whether the assets are already included, which allows you to re-try if there is a publish failure. If there is a problem with the draft release itself you can delete it and start over.
The text was updated successfully, but these errors were encountered: