godot-export-release
Skill1 starsChanged 2 days agoApache-2.0View on GitHub
Use when exporting, launching an exported build, or releasing a Godot 4.x game from the command line or GitHub Actions, including versioning, code signing, store uploads (Steam, itch.io, Epic, GOG) and reproducible builds.
- Reads credentials
In this repository56 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- algorithmsSkill
- animationSkill
- anti-cheatSkill
- asset-pipelineSkill
- automation-hooksSkill
- calendarSkill
- cameraSkill
- console-certSkill
- debug-toolsSkill
- determinismSkill
- game-aiSkill
- game-audioSkill
- game-dataSkill
- game-designSkill
- game-juiceSkill
- game-planSkill
- game-playtestSkill
- gameSkill
- game-telemetrySkill
- godot-addonsSkill
- godot-diagnoseSkill
- godot-editor-bridgeSkill
- godot-pitfallsSkill
- godot-shaders-vfxSkill
- godot-test-loopSkill
- inputSkill
- kit-reviewSkill
- kitSkill
- legalSkill
- llmSkill
- localizationSkill
- lookSkill
- mathSkill
- mobile-webSkill
- moddingSkill
- multiplayerSkill
- narrativeSkill
- new-gameSkill
- patternsSkill
- performanceSkill
- procgenSkill
- progressionSkill
- release-readinessSkill
- retroSkill
- savesSkill
- serversSkill
- steamSkill
- store-pageSkill
- typographySkill
- ui-accessibilitySkill
- ui-flowsSkill
- verify-before-doneSkill
- weekly-reviewSkill
- xrSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Never trust Godot's exit code alone: a C# project with no .sln exports with exit code 0 ("completed with warnings") and a game with no C# …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Export and release
pwsh ${CLAUDE_PLUGIN_ROOT}/ci/godot/hyperdot.ps1 export -Json -Quiet -Preset Windows -Run # export, then launch it headless and fail on errorsexport builds first (so it fails on a broken project), downloads export templates once (about 1 GB), exports each
preset to build/<preset>/, and with -Run launches the result for -Frames frames on a machine that can run
it. Launching catches what the editor hides: missing assets, trimmed code, test-only dependencies. Sources:
${CLAUDE_PLUGIN_ROOT}/docs/profiling-and-builds.md.
Result: exports[] with preset, platform, file. Failures: export-failed, no-presets, preset-not-found,
engine-errors.
Never trust Godot's exit code alone: a C# project with no .sln exports with exit code 0 ("completed with warnings")
and a game with no C# in it. export fails on the error in the log and on a desktop build with no data_* folder
holding the game's assembly.
Before the first export
doctor -Json-> noFAILs. Especiallysolution_directoryand test exclusions (godot-pitfalls).- Presets live in
export_presets.cfg; setexport_path. Excludetest/*, addons/gut/*, gdunit4_testadapter*/*. - Pin
Godot.NET.Sdk/x.y.zso CI and your machine export with the same engine. - Data files:
.jsonships;.txtand.yamlonly through the preset's include filter; a.csvonly if imported as Keep File (game-data).
Versions
pwsh ${CLAUDE_PLUGIN_ROOT}/ci/godot/hyperdot.ps1 export -Json -Quiet -Preset Windows -GameVersion v1.2.3-rc.1-GameVersionputs the numbers (1.2.3) inapplication/config/versionfor that export only, which becomes the Windows file version and the macOS and Android versions (where the preset leaves its own version fields empty), and all of it in the C# assembly's InformationalVersion (the SDK appends+<commit>). The release workflow passes the tag by itself (game-versioninput of the action).-GameVersion autoreads it from git:1.2.3on the tagv1.2.3,1.2.3.4four commits later (1.2.3+4.g<commit>in full),0.0.0.<commits>before the first tag. A shallow clone fails withshallow-checkout: check out withfetch-depth: 0. Every-GameVersionalso sets Android presets'version/code(major*1,000,000 + minor*1,000 + patch); builds between two tags share one, so tag each build you upload.- Why not by hand:
config/versiontakes numbers and dots only (1.2.3-rc.1only warns, and Windows gets 1.0.0.0;doctorwarns);override.cfgis ignored by export; a<Version>in the csproj wins over the environment, so leave it out. - The Windows preset needs
application/modify_resources=true(doctorwarns), or the exe keeps the export template's version and icon. - Android: raise
version/codefor every Play upload.
Debug or release
ExportReleasecompiles withoutDEBUG: code under#if DEBUGand calls to[Conditional("DEBUG")]methods are not in the release build (checked in the DLL).OS.IsDebugBuild()and feature tags only switch at run time; that code still ships. Cheats and debug consoles go under#if DEBUG(debug-tools).dotnet/include_debug_symbols=trueships<Name>.pdb, which gives line numbers in C# stack traces. Upload it to the crash service (sentry-cli debug-files upload) even if the store build leaves it out.- Reproducible: two exports from the same path are byte-identical; from another path the
.pckstays identical but the DLL and PDB differ.PathMap=<project dir>/=/_/in the environment makes those identical too.
In GitHub Actions
on: { push: { tags: ['v*'] } }
jobs:
release:
permissions: { contents: write }
uses: nick-vas/hyperdot/.github/workflows/godot.yml@v1
with: { exports: Windows, run-exports: true, release: true }Tests run first; each preset is exported, launched on a runner of its own OS, zipped as
<game>-<tag>-<preset>.zip, and published as a GitHub Release. A non-tag run with release: true is a dry run. A tag
with a hyphen (v1.2.0-rc.1) is published as a pre-release, so it is not shown as the latest. Each job stops after
timeout-minutes (60). The action caches Godot, export templates, NuGet packages and Godot's import cache, and keeps
them when the tests fail.
Signing
Secrets go in Actions secrets of a protected environment, never in the repository, never on a command line that is
logged; write certificate and keystore files from base64 secrets to a temporary file and delete it in an always() step.
Make the secret with base64 -w0 release.keystore (Linux), base64 -i release.keystore (macOS) or
[Convert]::ToBase64String([IO.File]::ReadAllBytes('release.keystore')) (PowerShell); decode it once on your own machine
and compare checksums before trusting it. doctor fails when a keystore, certificate or config.vdf is committed.
The kit's godot.yml does the file handling: give it the secrets it names (GODOT_ANDROID_KEYSTORE_RELEASE_BASE64,
GODOT_WINDOWS_CODESIGN_CERTIFICATE_BASE64, GODOT_MACOS_CODESIGN_CERTIFICATE_BASE64, ...; listed in
${CLAUDE_PLUGIN_ROOT}/docs/reference.md) with secrets: inherit, and environment: release for a protected environment.
Godot signs during export when these are set:
| Platform | Godot's environment variables | Notes |
| Windows | GODOT_WINDOWS_CODESIGN_IDENTITY, _IDENTITY_TYPE, _PASSWORD | SignTool on Windows, osslsigncode elsewhere. Azure's service, now called Artifact Signing: azure/artifact-signing-action@v2, Windows runners only |
| macOS | GODOT_MACOS_CODESIGN_CERTIFICATE_FILE, _CERTIFICATE_PASSWORD, GODOT_MACOS_NOTARIZATION_API_KEY, _API_KEY_ID, _API_UUID | rcodesign signs and notarizes from any OS; staple afterwards |
| Android | GODOT_ANDROID_KEYSTORE_RELEASE_PATH, _USER, _PASSWORD | Keystore and key password must be the same; Play needs an AAB (Gradle build) |
| iOS | GODOT_IOS_PROVISIONING_PROFILE_UUID_RELEASE | Export on macOS with Xcode |
Store uploads
Upload only the CI build that export -Run launched, from a tag or a manual run, never on a pull request.
- Steam:
steamcmd +login <build account> +run_app_build app_build.vdf +quit(orgame-ci/steam-deploy@v3). The VDF namesAppID,ContentRoot, depots withFileMapping;Preview "1"is a dry run;SetLivetakes a beta branch only (Steam never sets the default branch live automatically). Errors are inBuildOutput/*.log. Log in with a separate build account limited to "Edit App Metadata" and "Publish App Changes To Steam". Runsteamcmd +login <account>once by hand, enter the Steam Guard code, and store the resultingconfig/config.vdfas a base64 secret (GameCI'ssteam-deploytakes it that way). Do it again when Steam emails a new code or a build fails withLicense expired; a TOTP secret instead avoids the repeats. Exclude*.pdband*.logfrom depots. Depot ids follow the app id (app 1000, depots 1001, 1002...). - Google Play: the first upload of an app is by hand in Play Console, and it must leave "Draft" before an API upload
works. Then
fastlane supply --aab game.aab --track internalwith a service account's JSON key as a secret. Raiseversion/codefor every upload (Play refuses a code it has seen). - App Store / TestFlight: an App Store Connect API key (
.p8, key id, issuer id) avoids two-factor prompts;fastlane pilot upload. Apple limits uploads per day, so run it from a manual trigger rather than on every tag. - itch.io:
butler push build/Windows user/game:windows --userversion 1.2.3 --ignore '*.pdb'withBUTLER_API_KEY;butler push-previewfirst shows what would change. - Epic:
BuildPatchTool -mode=UploadBinary ... -ClientSecretEnvVar=<VAR>(keeps the secret off the command line), then-mode=LabelBinary. - GOG:
GOGGalaxyPipelineBuilder build-game project.json(from search results only; check GOG's documentation).
Gold master
The checklist is release-readiness section 1. In short: tag the release commit, let CI build, and upload the CI
artifacts, never a build from your machine.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

