Skip to content

generate-sitemap, v1.10.0 #14

generate-sitemap, v1.10.0

generate-sitemap, v1.10.0 #14

name: Move Major Release Tag
on:
release:
types: [created]
jobs:
movetag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get major version num and update tag
run: |
VERSION=${GITHUB_REF#refs/tags/}
MAJOR=${VERSION%%.*}
git config --global user.name 'Vincent A Cicirello'
git config --global user.email 'cicirello@users.noreply.github.com'
git tag -fa ${MAJOR} -m "Update major version tag"
git push origin ${MAJOR} --force