Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 798 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 798 Bytes

floating-tags-action

This action ensures that all tags in the repository in the current path have corresponding major version tags.

Version tags are tags matching pattern: v*.*.*. Tags starting with v0.* are not considered.

Example:

For a repository with following tags: v0.1.0, v1.0.0, v1.1.0, v1.1.2, v2.0.0, v2.0.1, v2.0.2, following tags are ensured:

  • v1 -> v1.1.2
  • v2 -> v2.0.2

Note that if v1 and v2 tags already exist they will be overwritten and force-pushed.

Inputs

This action doesn't have any inputs.

Outputs

This action doesn't have any outputs.

Example usage

Downloading a Giant Swarm binary with optional inputs left with default values:

steps:
- uses: actions/checkout@v2
- uses: giantswarm/floating-tags-action@v1