- Shell 100%
| .github/workflows | ||
| scripts | ||
| LICENSE | ||
| README.md | ||
Godot Asset Store Auto Release
WARNING: this was vibecoded
This pipeline will automatically publish an update to your asset on the Godot asset store when you create a new release in github.
Setup
Copying the scripts
Start by copying the script publish_godot_asset.sh and the pipeline publish-godot-asset.yml with the same structure as this repository.
.gitattributes
As told to me by a person from the godot asset store your zip needs to contain the structure /addons/addonName/addonContent and they would like us to include the LICENSE file in the release too. Here is my .gitattributes file that only exports the /addons folder and LICENSE file :
/** export-ignore
/addons !export-ignore
/addons/** !export-ignore
/LICENSE !export-ignore
Secrets
Next you need to go to https://github.com/{your username}/{your repo name}/settings/secrets/actions and add the following secrets :
GODOT_STORE_SESSION
Get this from your browser cookies
ASSET_USER
Your asset store username
ASSET_SLUG
Here: https://store.godotengine.org/asset/venorrak/gd-cctv/ the slug is gd-cctv
MIN_GODOT_VERSION and MAX_GODOT_VERSION
Formatted like Godot 4.7.2
Create a release
The version used in the Asset Store will the release tag
The release body should translate to the store too