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.
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, plainversion(such as0.1.0, never with-or+suffixes),category(gameorapp), 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, squareicon(≥ 256×256), 16:9cover(≥ 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 andmainpushes it writes<version>-dev.<run>into the runner'sgizlet.tomlwithout committing; onv<version>tags it keeps<version>. Your./scripts/dev.sh packagestep reads that version intomanifest.jsonand the.gzlfilenames. - Upload
.gzlfiles at the root of thegizlet-packagesartifact and pass them into the shared reusable workflowgizlet/.github/.github/workflows/store-channels.yml@latest. - Grant the release job
contents: writeandid-token: write, keep the template'sconcurrencyblock, and do not addpaths/paths-ignorefilters to thepushtrigger.
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
.gzlfiles (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 isready, and deletes olderv*-dev.*releases. - Stable release
- Tag the commit on
mainwhosegizlet.tomlmatches<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.