Skip to content

v1.0.12

v1.0.12 #4

name: Update Major Tag
on:
workflow_dispatch:
release:
types: [published]
permissions:
contents: write
jobs:
set-tag:
if: github.repository_owner == 'jkroepke'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: |
TAG="${{ github.ref_name }}"
if [[ "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
TAG="${{ github.ref_name }}"
TAG="${TAG%%.*}"
git tag -f "${TAG}"
git push --tags --force
fi