Skip to content

Commit

Permalink
fix: appease linter by wrapping interpolations
Browse files Browse the repository at this point in the history
  • Loading branch information
willgeorgetaylor committed Dec 29, 2023
1 parent 8445946 commit fa73c10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/version-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:

- name: Get major version num and update tag
run: |
VERSION=${GITHUB_REF#refs/tags/}
MAJOR=${VERSION%%.*}
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
git tag -fa "$MAJOR" -m "Update major version tag"
git push origin "$MAJOR" --force

0 comments on commit fa73c10

Please sign in to comment.