diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d23410..65ac709 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,13 +50,12 @@ jobs: - name: Update version.json run: | - cat > version.json << JSON - { - "version": "${{ steps.version.outputs.version }}", - "url": "https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/ClaudeChecker.zip", - "notes": "$(cat RELEASE_NOTES.md 2>/dev/null || echo 'Release ${{ steps.version.outputs.version }}')" - } - JSON + notes=$(cat RELEASE_NOTES.md 2>/dev/null || echo "Release ${{ steps.version.outputs.version }}") + jq -n \ + --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.json - name: Update Homebrew cask run: | diff --git a/version.json b/version.json index a43c6f6..08123a1 100644 --- a/version.json +++ b/version.json @@ -1,13 +1,5 @@ { "version": "1.0.4", "url": "https://github.com/superdooper86/claudechecker/releases/download/v1.0.4/ClaudeChecker.zip", - "notes": "## What's new in v1.0.4 - -### Clickable notifications -Notifications are now interactive — tap to act, not just read: - -- **Limit warnings & resets** (80%, 95%, reset) — tapping the notification opens the main ClaudeChecker window so you can see your current usage at a glance -- **Update available** — tapping the notification opens the main window with the update sheet already showing, so you can install in one click - -Previously notifications were display-only and required manually clicking the menubar icon to take action. This removes that friction." + "notes": "## What's new in v1.0.4\n\n### Clickable notifications\nNotifications are now interactive — tap to act, not just read:\n\n- **Limit warnings & resets** (80%, 95%, reset) — tapping the notification opens the main ClaudeChecker window so you can see your current usage at a glance\n- **Update available** — tapping the notification opens the main window with the update sheet already showing, so you can install in one click\n\nPreviously notifications were display-only and required manually clicking the menubar icon to take action. This removes that friction." }