Skip to content

v2.0.0

v2.0.0 #9

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Update major version tag
run: |
version=$(echo "${{ github.ref }}" | sed -r "s/^.*(v[0-9]).*$/\1/")
echo "Major Version: $version"
git config --local user.email "github-actions"
git config --local user.name "[email protected]"
git tag -fa $version -m "Update $version tag"
git push -f origin $version