Skip to content

Add branch check to release workflow. #285

Description

@peterwilsoncc

Is your enhancement related to a problem? Please describe.

This plugin requires releases be tagged on the non-default branch trunk.

When doing a release, this requires the release manager to change the branch in the drop-down to use trunk rather than develop.

Image

In order to prevent mistakes, it would be good to check that the tag targets the correct branch in the WP.org deploy workflow to ensure that the tag is against trunk. If not the deploy should fail.

The branch containing a tag can be confirmed by running git branch --contains tags/[tag name]

Designs

N/A

Describe alternatives you've considered

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions