Skip to content

Conversation

@matiasbenedetto
Copy link
Collaborator

What?

Automate the release process of the plugin with a GitHub action.

Why?

To automate the process, lowering the effort of releasing new versions and avoiding the need to manually repeat tasks prone to errors.

How?

By adding a GitHub action.

There will be a new action in the 'actions' section of the repo. The user will be able to select the type of release to launch (patch, minor, major) and a PR will be created with the new version. If everything is OK with the newly created PR and it is merged to master branch it will fire a release to the wordpress.org plugin directory.

Demo

The code for this change was adapted from the Create Block Theme repo. Here is a screencast of the release process in that repo that this PR brings to Theme-check plugin.

Screencast.from.10-10-24.16.05.23.webm

Blocked by

The Github action assumes that the plugin is using semantic versioning.
The implementation of this action is blocked by: #469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants