Skip to content

Commit

Permalink
fix: replace outdated Action
Browse files Browse the repository at this point in the history
  • Loading branch information
willgeorgetaylor committed Dec 29, 2023
1 parent 3cabc27 commit b8ee2e7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/version-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@ jobs:
name: Update Major Version Tag
runs-on: ubuntu-latest
steps:
- uses: nowactions/update-majorver@v1
- 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 'Will Taylor'
git config --global user.email '[email protected]'
git tag -fa ${MAJOR} -m "Update major version tag"
git push origin ${MAJOR} --force

0 comments on commit b8ee2e7

Please sign in to comment.