Skip to content

release: v0.8.0-beta.1 with pre-release support - #186

Merged
GoDiao merged 1 commit into
mainfrom
chore/prerelease-support
Oct 25, 2026
Merged

GoDiao merged 1 commit into
mainfrom
chore/prerelease-support

Conversation

@GoDiao

@GoDiao GoDiao commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Bumps the version to 0.8.0-beta.1 and cuts its CHANGELOG section. It also teaches the release tooling about pre-release versions, so the Electron app (#185) can go out for testing, especially on Windows, without replacing v0.7.0 as the latest release.

  • scripts/release.ts accepts explicit versions with a pre-release suffix such as 0.8.0-beta.1. From a pre-release, patch/minor/major are refused with a message asking for the next version explicitly, instead of producing NaN. The bump logic is exported and covered by scripts/release.test.ts.
  • release.yml creates the draft with --prerelease when the tag has a - suffix. Publishing it later with gh release edit --draft=false (without --latest) keeps v0.7.0 as the latest release. PRs that touch scripts/release.ts now also run the release builds.

Because this PR touches release.yml, its CI builds the macOS and Windows installers with the 0.8.0-beta.1 version, which checks that electron-builder accepts a pre-release version on both platforms.

Tested: bun test --randomize --seed=1 scripts/release.test.ts (4 pass). bun run scripts/release.ts 0.8.0-beta.1 --dry finds the CHANGELOG section, and 0.8 is rejected.

@GoDiao
GoDiao merged commit f4300b3 into main Oct 25, 2026
8 checks passed
@GoDiao
GoDiao deleted the chore/prerelease-support branch October 25, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant