Commit Graph
12 Commits
Author SHA1 Message Date
DeryFerd 49360d10f7 fix(release): never let the credits block abort a release
contributors_section split the gh api --jq answer and indexed latest[1], so an empty answer (no published stable release yet) or a null published_at raised IndexError. The caller guards credits with except (CalledProcessError, OSError) precisely so they cannot block a release, so the IndexError escaped that guard and aborted preparation of the release notes.

Parse the answer defensively: without a usable previous release, warn on stderr and skip the block. Widen the caller guard to any exception with the same warning, so a future credits bug cannot block a release either - the omission stays visible in the log.

Verified: tests/test_release_contributors.py gains a parametrized test (empty, newline, tag-only, null-date answers) that fails on main with IndexError at prepare_electron_release.py:69 and passes with the change (15 passed).
2026-11-16 01:40:01 +07:00
debpalash 2dea9301bd ci(release): report every absent rehearsal leg even when another leg is broken
The absent legs and installers are now found before any check can fail, and
--missing-report is written in a finally block. A leg with an incomplete feed
still fails the step, but the rehearsal's final step lists every leg that built
nothing (review).
2026-11-11 19:46:41 +05:30
debpalash d49f40056c ci(release): harden rehearsal signing checks and verify the legs that built
- Test signing accepts only an intact signature whose chain fails on nothing
  but the untrusted root; HashMismatch, a missing signature or an expired
  certificate fail (review).
- App Store signing steps skip in a rehearsal even when signed_ios is set, so
  they never run without the protected environment (review).
- A rehearsal's release job also runs after failed build legs: it verifies
  what built, lists the missing legs, and fails at the end. Releases still
  need every leg.
2026-11-11 17:57:47 +05:30
debpalash 88c93ab95d ci(release): rehearse the release workflow from any branch without publishing
electron-release.yml gains rehearsal=true: from any branch and without a tag it
builds every desktop package, the omnivoice-tts runtimes and the phone apps,
runs the packaged smoke tests, then the release job's verification
(prepare_electron_release.py --rehearsal against package.json's version, the
updater feed checksum and channel checks, the sunset feeds and signing notes).

It publishes nothing: the exact-tag check stays for releases, a rehearsal
refuses publish/release_tag/allow_unsigned, every publishing step is skipped by
its condition and refuses a rehearsal again in its script, phone builds skip
the protected signing environment, and SignPath runs only on an explicit
signpath_policy=test-signing. Artifacts expire after 3 days.

tests/test_release_rehearsal.py pins the guards; docs/RELEASING.md documents it.
2026-11-11 17:09:55 +05:30
debpalash 36b04d5e6f fix(release): name new contributors first in later betas
A beta's notes span everything since the last stable, so its Contributors list
repeated from beta to beta and new contributors were invisible. A second or
later beta now lists who is new since the previous beta, then the full list.
2026-11-11 04:35:58 +05:30
Bl0ck154 b52651fd3a fix(tests): write UTF-8 fixtures and generated release notes consistently 2026-11-02 04:40:49 +02:00
debpalash 7ba5f26c78 release: name desktop downloads VoiceStudio-<version>-<os>-<arch>
Electron is the only desktop app, so direct-download artifacts drop the
Electron label (store builds keep theirs). Installers still resolve the
VoiceStudio-Electron-* names for releases up to v0.5.7-beta.3; update feed
file names are unchanged and each feed names its own installer.
2026-10-26 17:20:20 +05:30
velixio e023c232a6 feat(release): add a Contributors block to the release notes automatically
The notes were the changelog section only, so maintainers and most community
authors were named nowhere (v0.5.7-beta.1). prepare_electron_release.py now
appends everyone who committed since the latest stable release plus the authors
of PRs merged in that span, skipping bots, AI agents and unlinked placeholders.
A hand-written Contributors section is left alone; a failed lookup only warns.
2026-10-24 02:09:45 +05:30
velixio bfaf8a5c0a feat(updates): add an opt-in Beta release channel
Beta follows vX.Y.Z-beta.N prereleases cut from main and rolls onto the next
stable release; Stable stays the default. Betas are GitHub prereleases (never
latest), ship an electron-beta-* feed and :beta Docker tags, and skip the Snap
Store and Tauri sunset feeds.
2026-10-22 17:27:54 +05:30
Palash Debnath d6348b56f2 chore: retire legacy Tauri app and UI 2026-09-26 11:26:48 -07:00
Palash Debnath 86c7f6bb35 chore(release): prepare Electron 0.5.4 metadata and authored notes 2026-09-17 22:19:11 +05:30
Palash Debnath 0b8de98783 Prepare Electron desktop releases and final Tauri sunset workflow 2026-09-16 21:24:27 +05:30