Skip to content
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

Automate release process with a GitHub action #471

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

1 participant