Socket
Socket
Sign inDemoInstall

@alleyinteractive/create-release

Package Overview
Dependencies
42
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @alleyinteractive/create-release

Create alleyinteractive/create-wordpress-plugin releases with ease.


Version published
Maintainers
2
Created

Readme

Source

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 header and optionally in the plugin's composer.json/package.json files. 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 the work can still be done manually by the user but does aim to make it easier to develop and release new versions of a plugin. The command does not commit or push any changes to Git, only changing the local files and deferring to the user to commit and push changes to Git.

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.
  --composer           Update the version in the plugin's composer.json file.
  --npm                Update the version in the plugin's package.json file.
  --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.

FAQs

Last updated on 12 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc