Skip to content

Workflow file for this run

---
name: CI Release Tag
on:
release:
types: [created]
jobs:
tag:
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Fetch major version tag and update it
shell: bash
run: |
VERSION=${GITHUB_REF#refs/tags/}
MAJOR=${VERSION%%.*}
git config --global user.name 'Rishav Dhar'
git config --global user.email '[email protected]'
git tag -fa "${MAJOR}" -m 'Update major version tag'
git push origin "${MAJOR}" --force