Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
tag

GitHub Action

Get Next Release Version

v1.0.0

Get Next Release Version

tag

Get Next Release Version

Get Next Release Version Action

Installation

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

              

- name: Get Next Release Version

uses: datalens-tech/[email protected]

Learn more about this action in datalens-tech/get-next-release-version-action

Choose a version

Get Next Release Version Action

CI GitHub Marketplace

Get Next Release Version Action

Usage

Example

placeholder # TODO: Add example

Action Inputs

Name Description Default
version_shift Version shift, used to calculate next version [major, minor, patch]. minor
version_template Version template to use for version parsing, must contain named groups '', '', '' v$<major>.$<minor>.$<patch>
version_override Version override, if used then will be output directly.
release_version_regexp Version regexp to use for version parsing, must contain named groups 'major', 'minor', 'patch'. v?(?<major>[0-9]+)\.(?<minor>[0-9]+)\.(?<patch>[0-9]+).*$
release_filter_target_commitish Target commitish filter for latest release.
release_filter_prerelease Prerelease filter for latest release.
github_owner GitHub owner. ${{ github.repository_owner }}
github_repo GitHub repository. ${{ github.event.repository.name }}
github_token GitHub token. ${{ github.token }}

Action Outputs

Name Description
version Next release version.

Development

Global dependencies

  • nvm
  • node

Taskfile commands

For all commands see Taskfile or task --list-all.

License

MIT