Create Release
This action facilitates the release process of a
Create WordPress Plugin plugin.
When run, it will trigger a new version to be set in the plugin's
composer.json
and plugin's header. This sets up the GitHub Action
workflow
which listens for a new version to automatically build and publish to Git.
Running this package's command is optional and can be done manually by the user.
Usage
Run the package with npx:
npx @alleyinteractive/release@latest
The command will prompt the user for a release type and version number. The
following arguments are available:
-v, --version string The version number to set for the release.
--major Bump the major version number.
--minor Bump the minor version number.
--patch Bump the patch version number.
-p, --path string The path to the plugin. Supports relative and absolute paths.
--dry-run Run the command without making any changes.
-h, --help Prints help information.
If the command is not run from the root of a plugin, you can either pass the
--path
argument or the command will prompt you for the path to the plugin to
release.
Changelog
This project keeps a changelog.
Contributors
Thanks to all of the contributors to this project.
License
This project is licensed under the
GNU Public License (GPL) version 2 or later.