[wp-meta] [Making WordPress.org] #5484: Add a "Tag and release" button
Making WordPress.org
noreply at wordpress.org
Mon Oct 26 07:08:03 UTC 2020
#5484: Add a "Tag and release" button
------------------------------+--------------------
Reporter: dd32 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+--------------------
As a follow up to #5352, it'd be ideal if plugin authors had a button on
https://wordpress.org/plugins/developers/releases/ which allowed a single-
click "Tag a release from `/trunk` to `/tags/x.y`"
For many people (myself included) the tagging process gets old quickly and
can often be done incorrectly when the version isn't bumped in the right
places, ie. a release is made with the old version still in the plugin
headers, or the `Stable tag`
With Release Confirmations requiring tagging, and not just releases from
trunk, having an easy way to go from trunk to a tagged release would be
helpful.
Logic:
If the plugin version in the /trunk/$plugin.php headers is >
$latest_release display the button as "Tag and release $version"
The tag would be based on the version header as-is, and ensure that it's
greater than (as according to `version_compare()`) than all their other
versions.
The process would create a commit to the plugin, copying trunk to the tag,
and updating the `Stable Tag` line in the readme at the same time.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5484>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list