mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-24 17:32:18 +00:00
When workflow is triggered via workflow_dispatch, GITHUB_REF_NAME is the branch name (e.g., "main") instead of a version tag. This caused the generated release notes to have incorrect download URLs. Now the script: 1. Checks if GITHUB_REF_NAME is a valid version tag (v1.2.3 format) 2. Falls back to reading version from package.json if not This ensures the release notes always match the actual artifact filenames produced by electron-builder. Co-Authored-By: Claude <noreply@anthropic.com>