Skip to content

Update sync-master template #3

Update sync-master template

Update sync-master template #3

Workflow file for this run

name: Tag Major Version
on:
push: { tags: "v*.*.*" }
workflow_call:
jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- env:
tag: ${{github.ref}}
run: |
tag=${tag#refs/tags/}
major=${tag%%.*}
git push -f origin "HEAD:refs/heads/$major"