The publish step deleted the release first and then made a new one.
When the token could not make the release (HTTP 403), the release was
gone. The script now moves the tag, edits the release and uploads the
files with --clobber. It makes a release only when there is none.
If DMODEM_BUMP_TOKEN fails, a second step tries with the GITHUB_TOKEN.
The workflow also runs each time a run of Build on main completes, so
the release follows main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTrw1ffsyY5bhTghu1
nightly.yml takes the artifacts of the newest complete run of build.yml
on main and replaces the "nightly" pre-release with them. It stops
when main has no new commits. build.yml now packs each artifact as a
.tar.gz or .zip (an artifact does not keep the executable bit), and the
Linux (GTK 4) job uploads its app too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR6tKgobV4RbMTv4eL