Skip to content
Back to skills

Windows Release

ASecurity

Build, check, and attach the Seira Windows x64 installer and its update feed to a seira-bot/seira release. Use when you cut a release, when a release has no Windows assets, or when a Windows user says that the app does not update. Covers Windows only; docs/releasing.md covers Linux and macOS.

  • 99 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 19, 2026
ai-agentsgonodegitapi

Works with

  • api

Security analysis

A100/100

Scanned November 22, 2026

npx -y skills add seira-bot/seira --skill windows-release --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Windows Release?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Windows Release
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/seira-bot-windows-release/badge)](https://www.skillsdirectory.com/skills/seira-bot-windows-release)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: windows-release
description: Build, check, and attach the Seira Windows x64 installer and its update feed to a seira-bot/seira release. Use when you cut a release, when a release has no Windows assets, or when a Windows user says that the app does not update. Covers Windows only; docs/releasing.md covers Linux and macOS.
---

# Windows release

The full release guide is [`docs/releasing.md`](../../../docs/releasing.md).
This skill covers its steps 5 and 7 and the Windows update problems.
A release goes only to [`seira-bot/seira`](https://github.com/seira-bot/seira/releases).
Never upload a Seira build to a Seira repository.

## Before you start

- The tag `v<version>` exists, and `package.json` at that tag has the same
  version. The workflow stops when they are not equal.
- Only a maintainer can start the workflow and attach the files.
- GitHub Actions is on for the repository ([CI](../../../docs/ci.md)).
- Do not build the installer on a local machine. The workflow builds it on a
  GitHub-hosted Windows runner from a clean checkout with no dependency cache.

## 1. Build

```sh
gh workflow run package-windows.yml --repo seira-bot/seira -f ref=v<version>
gh run list --repo seira-bot/seira --workflow package-windows.yml --limit 1
gh run watch <run id> --repo seira-bot/seira --exit-status
```

Before it uploads, the workflow does these checks. When one fails, the run fails:

| Check | Problem that it stops |
| --- | --- |
| `server/index.js` and `ui/index.html` are in the package | The "Couldn't start the bot server" page, or a black window |
| The bundled browser and the packaged server start with an empty home folder, and `/api/health` answers | An app that cannot start on a new computer |
| `app-update.yml` names `owner: seira-bot` and `repo: seira`, and has no `publisherName` | Installed apps that look for updates in the wrong place, or reject every update |
| `latest.yml` names `Seira-<version>-setup.exe` with the correct SHA-512 and size | Installed apps that download the update and then reject it |
| `cloudflared.exe` has the pinned version and SHA-256 | A wrong third-party binary in the package |

## 2. Download and check

```sh
mkdir -p .seira-scratch/windows && cd .seira-scratch/windows
gh run download <run id> --repo seira-bot/seira --name seira-<version>-windows-x64
sha256sum -c SHA256SUMS-windows-x64.txt
```

Each line must print `OK`. The artifact stays for 14 days. After that, run the
workflow again.

## 3. Attach to the draft release

Attach all five files to the same draft release as the Linux and macOS files. Do not publish the release yet:

```sh
node ../../scripts/release-assets.mjs upload v<version> \
  Seira-<version>-setup.exe Seira-<version>-setup.exe.blockmap latest.yml \
  Seira-setup.exe SHA256SUMS-windows-x64.txt
node ../../scripts/release-assets.mjs check v<version>
```

The script uploads feeds (`latest*.yml`) last, so installed apps never read a
feed whose file is still uploading. It uploads one file at a time. Before it
uploads `latest.yml`, it checks that every file that a feed or a checksum file
names is an uploaded asset of the same size. Never attach the files with
`gh release upload`: it uploads small files, such as `latest.yml`, before the
installer is complete.

| File | Who uses it |
| --- | --- |
| `Seira-<version>-setup.exe` | The installer. `latest.yml` names this file, so the updater downloads it. |
| `Seira-<version>-setup.exe.blockmap` | The updater. It downloads only the changed parts. |
| `latest.yml` | Installed apps. They read it to find the new version. |
| `Seira-setup.exe` | The download link `/releases/latest/download/Seira-setup.exe`. It is a byte-identical copy. |
| `SHA256SUMS-windows-x64.txt` | People who check the download |

- Upload the files as the workflow wrote them. Do not rename them, and do not
  edit `latest.yml`. Do not use a `latest.yml` from an earlier build.
- Never replace an asset in place. If an asset is wrong, delete the assets of
  the release and upload all five again.
- Run `check` after the upload and again after the release is published. It
  must print no `FAIL` line.
- Then do step 9 of `docs/releasing.md`: download the release and check every
  checksum file.

## 4. Publish

Publish only after the Linux files are on the draft release. Add the macOS files when the release has any.

```sh
node ../../scripts/release-assets.mjs publish v<version>
```

The command refuses and keeps the draft when a required file is missing or `check` fails. Never publish with `gh release edit` or the GitHub web page.

## Microsoft Store package

The same run builds `Seira-<version>-x64.appx` for the Microsoft Store. It is in
the artifact `seira-<version>-windows-x64-store`. Do not attach it to the GitHub
release. Upload it to Partner Center by hand. The Store signs it.

- The build maps version `0.1.179` to `1.1.179.0`, because the Store rejects a
  first part of 0.
- `appx.identityName` and `appx.publisher` in `electron-builder.yml` come from
  the Product identity page in Partner Center. The workflow checks them.
- In this package the app does not update itself and does not write a Run key.
  The Store updates it, and the person turns on Open at login in Startup apps.
- The workflow checks the manifest and the logos. `docs/releasing.md` lists the
  checks.

## Each release has Windows files

A release without `latest.yml` leaves every installed Windows app on its old
version. A background update check that fails shows no message, so the user
gets no warning. Attach the Windows files to each release. The `publish` command
refuses a release without them. If you cannot attach them, keep the release a
draft.

## A Windows user says that the app does not update

Find the cause in this order:

1. Run `node scripts/release-assets.mjs check v<version>` for the newest
   version. The release must have all five files. If `latest.yml` is missing,
   attach the files of step 3.
2. Read the same `check` output. Each file that `latest.yml` names must be an
   uploaded asset with the same size. If a line says `FAIL`, delete the five
   assets and attach the workflow files again with the upload command. To
   compare the SHA-512, download `latest.yml` and the installer.
3. Ask for `updater.log` from the log folder of the app:
   `%APPDATA%\Seira\logs`. Version 0.1.182 and earlier use `%APPDATA%\openmausbot\logs`.
4. Ask where the user installed the app from. A Seira installer from
   the upstream project reads the upstream releases. It never updates to Seira.
   The user must install `Seira-setup.exe` once.

## The installer is not signed

Seira has no Windows code-signing certificate. Microsoft Defender SmartScreen
shows "Windows protected your PC" and "Unknown publisher". The user selects
**More info**, then **Run anyway**. Say this in the release notes.

Do not add `publisherName` or signing settings to `electron-builder.yml`
without a certificate. electron-updater checks the signature only when
`publisherName` is set, so each installed app then rejects each update. When
Seira gets a certificate, keep its subject the same for each later certificate,
or list the old and the new subject in `publisherName`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.