[ci] include version alias in version.json for compatibility

This commit is contained in:
dijunkun
2026-05-29 11:28:09 +08:00
parent fe0cf42e5d
commit 1a9160241f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -502,6 +502,7 @@ jobs:
cat > version.json << EOF
{
"latest_version": "${{ steps.version.outputs.VERSION_NUM }}",
"version": "${{ steps.version.outputs.VERSION_NUM }}",
"releaseDate": "${{ steps.version.outputs.BUILD_DATE_ISO }}",
"patch": ${{ steps.version.outputs.PATCH_NUMBER }},
"releaseName": "",
@@ -141,6 +141,7 @@ jobs:
cat > version.json << EOF
{
"latest_version": "${{ steps.version.outputs.VERSION_FULL }}",
"version": "${{ steps.version.outputs.VERSION_FULL }}",
"releaseDate": "${{ steps.version.outputs.BUILD_DATE_ISO }}",
"patch": ${{ steps.version.outputs.PATCH_NUMBER }},
"releaseName": ${{ steps.release_info.outputs.RELEASE_NAME }},