Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
# Triggered on v* tag pushes (see `on:` below).
#
# Channel model (since 2026-08):
# - The tag suffix (-beta/-alpha vs none) controls the BUILD FLAVOR only:
# vite mode staging vs production, devtools features,
# winget --prerelease.
# - NO BETA TAGS (since 2026-12). The app is in production: every release is a
# plain vX.Y.Z tag and builds the production flavor. A -beta/-alpha tag (or a
# manual run asking for the beta flavor) is rejected in "Determine channel".
# The `channel == 'beta'` branches further down are unreachable leftovers of
# the old staging flavor (staging vite mode, devtools, winget --prerelease).
# - ALL releases publish to the CrabNebula DEFAULT channel (no --channel
# flag). The public releases page ONLY lists the default channel - named
# channels (including one literally called "stable") are invisible to it,
Expand Down Expand Up @@ -66,7 +68,7 @@ name: Release
on:
push:
tags:
- 'v*' # Triggers on version tags (v0.8.1, v0.8.1-beta.1, etc.)
- 'v*' # Triggers on version tags (v1.3.0). Pre-release suffixes are rejected below.
workflow_dispatch:
inputs:
channel:
Expand All @@ -75,7 +77,6 @@ on:
type: choice
options:
- auto
- beta
- stable
default: auto

Expand Down Expand Up @@ -156,17 +157,18 @@ jobs:
INPUT_CHANNEL: ${{ github.event.inputs.channel }}
REF_NAME: ${{ github.ref_name }}
run: |
# `channel` = build flavor only (beta vs stable UX/config differences).
if [ "$INPUT_CHANNEL" != "auto" ] && [ -n "$INPUT_CHANNEL" ]; then
case "$INPUT_CHANNEL" in beta|stable) ;; *) echo "::error::channel must be beta, stable or auto"; exit 1 ;; esac
echo "channel=$INPUT_CHANNEL" >> "$GITHUB_OUTPUT"
elif [[ "$REF_NAME" == *"-beta"* ]] || [[ "$REF_NAME" == *"-alpha"* ]]; then
# Tags like v0.8.1-beta.1 build the beta flavor
echo "channel=beta" >> $GITHUB_OUTPUT
else
# Tags like v0.8.1 build the stable flavor
echo "channel=stable" >> $GITHUB_OUTPUT
# `channel` = build flavor. Only the production ("stable") flavor exists now:
# beta/alpha releases were retired (2026-12), so they fail here before
# anything is drafted or built.
if [[ "$REF_NAME" == *"-beta"* ]] || [[ "$REF_NAME" == *"-alpha"* ]] || [[ "$REF_NAME" == *"-rc"* ]]; then
echo "::error::Pre-release tags are not supported ($REF_NAME). Tag a plain vX.Y.Z release."
exit 1
fi
if [ "$INPUT_CHANNEL" != "auto" ] && [ -n "$INPUT_CHANNEL" ] && [ "$INPUT_CHANNEL" != "stable" ]; then
echo "::error::channel must be stable or auto"
exit 1
fi
echo "channel=stable" >> "$GITHUB_OUTPUT"

- name: Create draft release
id: create_release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/winget-submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:
inputs:
version:
description: 'App version, e.g. 0.9.4 or 0.9.4-beta.1 (no leading v)'
description: 'App version, e.g. 1.3.0 (no leading v)'
required: true
type: string

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to Echophrase will be documented in this file.
### Developers
- Committing a dependency change (`Cargo.lock`, `bun.lock`) now regenerates the third-party notices in the same commit, so the "Attribution is current" check no longer fails afterwards. It needs `cargo-about` at the version `ci.yml` pins.
- `static/index.html` is no longer tracked. It is build output, so it showed up as modified after every build.
- Beta releases are retired: the release workflow rejects `-beta`/`-alpha`/`-rc` tags and the `release:beta` script is gone.

## [v1.3.0] - 2026-12-02
<!-- discord: new seamless model updates, up to 1.9x faster than handy on short dictations on windows, hold-to-talk stops the instant you let go -->
Expand Down
11 changes: 7 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,13 @@ buttons). Add an entry whenever you work around a bug you do not own.
diffs skip them. PRs check Linux + Windows; macOS clippy/tests run on pushes to `main` (its
runners queue ~10 min), so a macOS-only failure shows up after merge. Runs on `main` are never
cancelled by a newer push.
- All tags release from `main`. A `-beta.N` suffix only changes the build flavor
(staging vite mode + devtools). Every release publishes to the CrabNebula
**default** channel. `# TRANSITION:` steps in `release.yml` also publish to the
legacy `beta`/`stable` channels until old installs migrate.
- All tags release from `main`. **There are no beta tags: the app is in production.**
Every release is a plain `vX.Y.Z` tag; `release.yml` rejects `-beta`/`-alpha`/`-rc`
tags. Never suggest "test it on a beta first" - verify before merging instead.
Every release publishes to the CrabNebula **default** channel. `# TRANSITION:` steps
in `release.yml` also publish to the legacy `beta`/`stable` update CHANNELS (not tags)
so old installs with a channel baked into their updater URL still receive updates;
leave those until they migrate.
- **Every release ships its full patch notes, everywhere.** CrabNebula (the in-app update
modal) gets every released CHANGELOG section, `### Developers` included: the modal hides
those sections itself until the user ticks "Show developer changes". The
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"tauri:build:win:prod": "bun scripts/ensure-ort.mjs && bunx --bun vite build --mode production && bunx tauri build --ci",
"prepare": "bunx --bun svelte-kit sync && husky",
"release": "release-it",
"release:beta": "release-it --preRelease=beta",
"release:patch": "release-it patch",
"release:minor": "release-it minor",
"release:major": "release-it major",
Expand Down
Loading