Skip to content

Commit b5dfdd6

Browse files
Copilotakobrin1
andauthored
Quote GITHUB_REF variable expansions in workflow (#67)
Co-authored-by: akobrin1 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: akobrin1 <[email protected]>
1 parent fde61e3 commit b5dfdd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
4949
# Tagged release: switch identifier to the tag itself (e.g. v1.8.0)
50-
build_id=${GITHUB_REF#refs/tags/}
50+
build_id="${GITHUB_REF#refs/tags/}"
5151
is_tag=true
5252
fi
5353
@@ -163,7 +163,7 @@ jobs:
163163
id: tag_info
164164
run: |
165165
# Get the tag name
166-
TAG_NAME=${GITHUB_REF#refs/tags/}
166+
TAG_NAME="${GITHUB_REF#refs/tags/}"
167167
echo "tag_name=$TAG_NAME" >> $GITHUB_OUTPUT
168168
169169
# Get the tag message

0 commit comments

Comments
 (0)