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
5 changes: 5 additions & 0 deletions .agents/skills/release-lithe/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,11 @@ before committing the notes.
read well there too. A feed that already offers a later version is left as
it is. See
`.agents/notes/implemented/feature/2026-11-15-desktop-update-channels-and-dialog.md`.
- For a desktop release, confirm that the published release is marked Latest
on GitHub. The `release` job of `desktop-release.yml` marks it Latest
unless a published desktop release has a higher version, so that
`releases/latest` and the README download links lead to it. Never pass
`--latest=false` for the release of the highest desktop version.
- Run `actionlint` after changing a GitHub Actions workflow. Run any focused
packaging or manifest checks required by `develop-lithe` for other release
changes.
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Desktop Release

# Releases the Viva desktop client (desktop/) for macOS, Windows and Linux. Its tags are
# desktop-vMAJOR.MINOR.PATCH, apart from the v* tags of the SwiftUI and Tauri clients, and each
# release is stable. Keep the legacy clients' latest release unchanged; desktop updates select desktop-v tags.
# release is stable. The release of the highest desktop version is marked Latest, so the
# releases/latest link and the README download links lead to it; desktop updates select
# desktop-v tags and do not read Latest.
on:
push:
tags:
Expand Down Expand Up @@ -219,12 +221,20 @@ jobs:
RELEASE_TAG: ${{ needs.prepare.outputs.tag }}
DESKTOP_VERSION: ${{ needs.prepare.outputs.version }}
run: |
# Mark this release Latest unless a published desktop release has a higher version,
# so re-running the workflow for an older tag does not take Latest from a newer one.
newest=$(gh release list --repo "$GITHUB_REPOSITORY" --exclude-drafts --exclude-pre-releases \
--limit 1000 --json tagName --jq '.[].tagName' | sed -n 's/^desktop-v//p' | sort -V | tail -n 1)
latest=true
if [[ -n "$newest" && "$(printf '%s\n%s\n' "$newest" "$DESKTOP_VERSION" | sort -V | tail -n 1)" != "$DESKTOP_VERSION" ]]; then
latest=false
fi
release_args=(
--repo "$GITHUB_REPOSITORY"
--title "Lithe Desktop $DESKTOP_VERSION"
--notes-file "docs/releases/v$DESKTOP_VERSION.md"
--prerelease=false
--latest=false
--latest="$latest"
)
if ! gh release view "$RELEASE_TAG" --repo "$GITHUB_REPOSITORY" > /dev/null 2>&1; then
gh release create "$RELEASE_TAG" --target "$GITHUB_SHA" "${release_args[@]}" || \
Expand Down
Loading