From fa73c1065a34c3a37a9a0f2a3cb054dcd3252d89 Mon Sep 17 00:00:00 2001 From: Will Taylor Date: Fri, 29 Dec 2023 21:09:26 +0000 Subject: [PATCH] fix: appease linter by wrapping interpolations --- .github/workflows/version-tag.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/version-tag.yml b/.github/workflows/version-tag.yml index 23ef145..84da377 100644 --- a/.github/workflows/version-tag.yml +++ b/.github/workflows/version-tag.yml @@ -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 "willgeorgetaylor@users.noreply.github.com" - git tag -fa ${MAJOR} -m "Update major version tag" - git push origin ${MAJOR} --force \ No newline at end of file + git tag -fa "$MAJOR" -m "Update major version tag" + git push origin "$MAJOR" --force \ No newline at end of file