name: Bump version
on:
  push:
    branches:
      - master
      - 'release-[0-9]+.[0-9]+'
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: '0'
    - name: Bump version and push tag
      uses: anothrNick/github-tag-action@1.36.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        WITH_V: true
        DEFAULT_BUMP: patch
        TAG_CONTEXT: branch

name: Bump version
on:
  push:
    branches:
      - master
      - 'release-[0-9]+.[0-9]+'
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: '0'
    - name: Bump version and push tag
      uses: anothrNick/github-tag-action@1.36.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        WITH_V: true
        DEFAULT_BUMP: patch
        TAG_CONTEXT: branch
        RELEASE_BRANCHES: master,release-.+\..+
Add release branches regex setting
Add release branches regex setting

Signed-off-by: Grant Griffiths <9e861e735dbffdbb5b2e8045785fd9c6c1c571e7@purestorage.com>
