Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.13 KB

README.md

File metadata and controls

68 lines (48 loc) · 1.13 KB

Action: Version labels

- name: Prepare version labels
  uses: k15g/action-version-labels@edge

Inputs

match(optional)

- name: Prepare version labels
  uses: k15g/action-version-labels@edge
  with:
    match: ^refs/tags/v # default

prefix(optional)

- name: Prepare version labels
  uses: k15g/action-version-labels@edge
  with:
    prefix: project

timestamp_* (optional)

channel_* (optional)

- name: Prepare version labels
  uses: k15g/action-version-labels@edge
  with:
    channel_default: edge # default
    channel_regex: ^refs/tags/v([0-9]+)\..+$ # default
    channel_replace: v$1 # default

label_* (optional)

- name: Prepare version labels
  uses: k15g/action-version-labels@edge
  with:
    label_default: dev # default
    label_regex: ^refs/tags/(.+)$ # default
    label_replace: $1 # default

version_* (optional)

- name: Prepare version labels
  uses: k15g/action-version-labels@edge
  with:
    version_default: dev-%timestamp% # default
    version_regex: ^refs/tags/v(.+)$ # default
    version_replace: $1 # default