Skip to content

Build

Build #17

Workflow file for this run

name: Increment Semver Tag
on:
push:
branches:
- main
jobs:
tag:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch # Can be set to major, minor, or patch
GIT_API_TAGGING: false # Fix for tag push reference error
WITH_V: false # If you want your tag to start with 'v', e.g., v1.0.0