action-wordpress-plugin-deploy icon indicating copy to clipboard operation
action-wordpress-plugin-deploy copied to clipboard

A `wp-plugin-publish` script would be awesome to pair string updates with the tagging process.

Open whyisjake opened this issue 5 years ago • 2 comments
trafficstars

Is your enhancement related to a problem? Please describe. Replacing all of the strings for a version can be problematic. A user needs to find all of the strings and ensure that they are updated correctly.

Describe the solution you'd like As a precommit action, all of the strings are updated to the proposed tag.

Describe alternatives you've considered Manual operation, since a bunch of sed commands are prolly overkill here.

whyisjake avatar Jun 03 '20 00:06 whyisjake

Something similar to https://docs.npmjs.com/cli/publish would be cool

whyisjake avatar Jun 03 '20 01:06 whyisjake

I use version-bump-prompt for this, with convenience scripts for patch, minor, and major updates: https://github.com/johnbillion/wp-crontrol/blob/649e07dc353ba3f0146e89004ae33742fba216c1/package.json#L16-L20

johnbillion avatar Jul 10 '22 23:07 johnbillion