Skip to content

Commit e0e1a9e

Browse files
committed
fix: resolve action lint quote issue
1 parent 6f8a8d2 commit e0e1a9e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ jobs:
5454
- name: Update major version tag
5555
run: |
5656
# Extract major version from tag (e.g., v1.2.3 -> v1)
57-
TAG_NAME=${GITHUB_REF#refs/tags/}
58-
MAJOR_VERSION=$(echo $TAG_NAME | cut -d. -f1)
57+
TAG_NAME="${GITHUB_REF#refs/tags/}"
58+
MAJOR_VERSION=$(echo "$TAG_NAME" | cut -d. -f1)
5959
6060
echo "Updating $MAJOR_VERSION to point to $TAG_NAME"
6161
@@ -64,9 +64,9 @@ jobs:
6464
git config user.email "github-actions[bot]@users.noreply.github.com"
6565
6666
# Delete existing major tag if it exists
67-
git tag -d $MAJOR_VERSION 2>/dev/null || true
68-
git push origin :refs/tags/$MAJOR_VERSION 2>/dev/null || true
67+
git tag -d "$MAJOR_VERSION" 2>/dev/null || true
68+
git push origin ":refs/tags/$MAJOR_VERSION" 2>/dev/null || true
6969
7070
# Create new major tag pointing to current commit
71-
git tag $MAJOR_VERSION
72-
git push origin $MAJOR_VERSION
71+
git tag "$MAJOR_VERSION"
72+
git push origin "$MAJOR_VERSION"

0 commit comments

Comments
 (0)