Determine the next version based on conventional commits
Find a file
2025-12-30 13:58:44 +01:00
action.yml feat: initial commit 2025-12-30 13:58:44 +01:00
README.md feat: initial commit 2025-12-30 13:58:44 +01:00

Release · Determine Next Version

Determine the next release version from conventional commits using commit-and-tag-version. This action runs a dry-run of the tool and writes the detected version (e.g. v1.2.3) to the version output. It fails if no next version can be determined.

Usage

jobs:
  determine:
    runs-on: ubuntu-latest
    steps:
      - name: Determine next version
        id: next_version
        uses: https://git.xiidoz.com/actions/release-determine-next-version@v1

      - name: Show determined version
        run: echo "Next version is ${{ steps.next_version.outputs.version }}"

Outputs

  • version — The determined next version (e.g. v1.2.3).

Note: This action performs a dry-run to calculate the next version and will exit with an error if no version can be inferred from the commit history.