Skip to content

Commit 9df1b32

Browse files
committed
test show version
1 parent af33b4c commit 9df1b32

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
run: ls -l
124124
- name: Debug VERSION
125125
run: |
126-
echo "VERSION is: ${{ env.VERSION }}"
126+
echo "VERSION is: ${VERSION}"
127127
env:
128128
VERSION: ${{ env.VERSION }}
129129
- name: Create GitHub Release
@@ -134,15 +134,13 @@ jobs:
134134
VERSION: ${{ env.VERSION }}
135135
with:
136136
tag_name: ${{ github.ref_name }}-${{ github.run_id }}
137-
release_name: Release v${{ env.VERSION }}
137+
release_name: Release v${VERSION}
138138
draft: false
139139
prerelease: false
140140

141141
- name: Find All Files Matching VERSION
142142
id: find_files
143143
run: |
144-
VERSION=${{ env.VERSION }}
145-
# Locate all files matching the VERSION
146144
files=($(ls ./*${VERSION}* 2>/dev/null || echo ""))
147145
if [ ${#files[@]} -eq 0 ]; then
148146
echo "Error: No files found matching VERSION ${VERSION}"

0 commit comments

Comments
 (0)