Handle semver pre-release versions in isNewer; restore full version string in beta workflow

This commit is contained in:
2026-05-07 22:42:35 +02:00
parent af920eda83
commit 2a01d6f5b8
2 changed files with 23 additions and 8 deletions
+1 -3
View File
@@ -48,10 +48,8 @@ jobs:
- name: Update version-beta.json
run: |
notes=$(cat RELEASE_NOTES.md 2>/dev/null || echo "Beta release ${{ steps.version.outputs.version }}")
base_version="${{ steps.version.outputs.version }}"
base_version="${base_version%%-*}"
jq -n \
--arg version "$base_version" \
--arg version "${{ steps.version.outputs.version }}" \
--arg url "https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/ClaudeChecker.zip" \
--arg notes "$notes" \
'{version: $version, url: $url, notes: $notes}' > version-beta.json