Skip to content

handle no prefix case #2

handle no prefix case

handle no prefix case #2

---
name: Branch With V
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
branches:
- branch_with_v
jobs:
update-tags:
name: Tag update for Branch With V
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Github Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Bump version and push tag
uses: timothyclarke/github-tag-action@f0032af343c6521d1bc8abdf43b340b2900ab7f2
# uses: anothrNick/github-tag-action@v1 # Don't use @master or @v1 unless you're happy to test the latest version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
DEFAULT_BRANCH: branch_with_v
RELEASE_BRANCHES: branch_with_v
PRERELEASE: false
DEFAULT_BUMP: patch
BRANCH_HISTORY: last
WITH_V: true