Skip to content

v12 Enhanced Parsing of Commands and Outputs #7

v12 Enhanced Parsing of Commands and Outputs

v12 Enhanced Parsing of Commands and Outputs #7

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- 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