Skip to content
tag

GitHub Action

semantic-versioning-tag

0.7.0 Latest version

semantic-versioning-tag

tag

semantic-versioning-tag

help to process a tag if it follow the semantic versionning pattern

Installation

Copy and paste the following snippet into your .yml file.

              

- name: semantic-versioning-tag

uses: LongOddCode/[email protected]

Learn more about this action in LongOddCode/semantic-versioning-tag

Choose a version

semantic-versioning-tag

help to process a tag if it follow the semantic versionning pattern.

usage

            - name: semantic-versioning-tag
              uses: LongOddCode/[email protected]
              id: svt
            
            - name: validation and set params
              run: |
                  echo ${{ steps.svt.outputs.major }}
                  echo ${{ steps.svt.outputs.minor }}
                  echo ${{ steps.svt.outputs.patch }}
                  echo ${{ steps.svt.outputs.prerelease }}
                  echo ${{ steps.svt.outputs.buildmetadata }}