Skip to content

Support for multiple tags #208

Open
Open
@asangas

Description

@asangas

It would be great if this action can support multiple tags. The use case is mainly for release management of actions and reusable workflows, where we would be creating a new tag as usual (v1.3.0), and also move the major version tag (v1) to point to the same Git ref.

This is following the official versioning recommendations:

  • Create a release using semantic versioning. For more information, see "Creating releases."
  • Move the major version tag (such as v1, v2) to point to the Git ref of the current release. For more information, see "Git basics - tagging."
  • Introduce a new major version tag (v2) for changes that will break existing workflows. For example, changing an action's inputs would be a breaking change.

I feel that the cleanest way would be to expose a new optional input update_tag_name or update_tag_names to make a distinction with tag_name. (tag_name would attempt to create a new tag, while update_tag_name would create a new tag if it does not exist, or move if it exists).

I'm more than happy to work with you to refine this feature request, and raise a PR if accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions