Gizlet
Account
For developers

For developers · 3 min readMarkdown

Publishing to the Gizlet Store

Step-by-step guide to preparing gizlet.toml, running check-project.py, wiring store-channels.yml CI, shipping dev and stable releases, and verifying your release on gizlet.io.

#release#ci#store

Publishing to the Gizlet Store runs completely through GitHub Actions and OIDC—once wired up, pushing to main publishes a dev release and pushing a v<version> tag publishes a stable release.

1. Prepare gizlet.toml and Store art

Make sure your repository root has a valid gizlet.toml with:

  • Required metadata: reverse-DNS id, name, plain version (such as 0.1.0, never with - or + suffixes), category (game or app), and [[packages]] entries for each target you build (ship Gizlet OS plus macOS and Windows packages whenever your app runs on desktop).
  • Listing assets so your gizlet can appear in Explore without warnings: description, square icon (≥ 256×256), 16:9 cover (≥ 1280×720), screenshots, controls, and optional localized [names], [descriptions] and [about].
  • For private repositories, install the gizlet-bot GitHub App on that repository so the Store can mirror its releases.

Run the project checker from gizlet/skill before pushing and fix every error it reports:

python3 path/to/skill/skills/gizlet-dev/scripts/check-project.py .

2. Add the Store CI workflow

Copy the Store CI template into .github/workflows/store-ci.yml and adapt its build job to your stack. Three rules matter most:

  • Run the version action right after checkout in every packaging job: uses: gizlet/.github/.github/actions/version@latest. On PRs and main pushes it writes <version>-dev.<run> into the runner's gizlet.toml without committing; on v<version> tags it keeps <version>. Your ./scripts/dev.sh package step reads that version into manifest.json and the .gzl filenames.
  • Upload .gzl files at the root of the gizlet-packages artifact and pass them into the shared reusable workflow gizlet/.github/.github/workflows/store-channels.yml@latest.
  • Grant the release job contents: write and id-token: write, keep the template's concurrency block, and do not add paths / paths-ignore filters to the push trigger.

Note that pushing a workflow file under .github/workflows/ requires the workflow OAuth scope in gh auth login.

3. Ship dev and stable releases

Pull request
Runs tests and packages .gzl files (0.1.0-dev.<run>) without publishing.
Push to main
Creates a GitHub pre-release tagged v0.1.0-dev.<run>, indexes it on the Store's dev channel, waits until status is ready, and deletes older v*-dev.* releases.
Stable release
Tag the commit on main whose gizlet.toml matches <version> and push the tag:
git tag v0.1.0 <commit> && git push origin v0.1.0

Stable releases are never deleted. Right after shipping v0.1.0, open a PR that bumps version in gizlet.toml to 0.1.1 so future pushes to main publish 0.1.1-dev.N (which sorts above 0.1.0 for Dev channel users).

4. Verify and troubleshoot

Confirm the release reached ready and resolves for your target and channel:

curl -fsS 'https://gizlet.io/api/v1/gizlets/github.com/OWNER/REPO/releases/v0.1.0'
curl -fsS 'https://gizlet.io/api/v1/gizlets/github.com/OWNER/REPO/install?target=aarch64-unknown-linux-gnu&tier=lite'

Open https://gizlet.io/github.com/OWNER/REPO to check the rendered listing, screenshots and any check warnings. If a run fails due to a transient error, rerun the latest workflow run on main (or run gh workflow run store-ci.yml --ref v<version> for a stable tag). If the built files were wrong, fix the code and push a new commit (for dev) or bump version and tag again (for stable).

For the exhaustive schema and error rules, see the gizlet.toml reference.