Skip to content

Commit 7b55ffe

Browse files
authored
Modify latest.txt to include version prefix
Update latest.txt to store version with 'v' prefix.
1 parent d1b4bde commit 7b55ffe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-hysteria.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
ver="${{ steps.remote.outputs.remote_num }}" # e.g. 2.6.5
140140
mkdir -p "${DEST_DIR}/v${ver}"
141141
cp -f "${ASSET_NAME}" "${DEST_DIR}/v${ver}/${ASSET_NAME}"
142-
echo "${ver}" > "${DEST_DIR}/latest.txt" # store numeric only
142+
echo "v${ver}" > "${DEST_DIR}/latest.txt" # store version like v2.6.5
143143
144144
- name: Commit and push (message = v<version>)
145145
if: steps.guard.outputs.skip == 'false'

0 commit comments

Comments
 (0)