Releasing Your Mod - Monster-Train-2-Modding-Group/Trainworks-Reloaded GitHub Wiki
Only follow these steps once your mod is ready for Thunderstore:
Step 1: Verify Tools and Dependencies
-
Check that your
csprojfile matches the latest Trainworks Reloaded release and latest Conductor release -
Update
thunderstore.tomland verify the version of Trainworks-Reloaded and Conductor are the latest versions. -
Rebuild your mod if there were any changes to the dependencies
-
Test your mod in-game and check
BepInEx\LogOutput.logfor warning or error messages.
Step 2: Add Thunderstore Service Account
-
Go to Thunderstore → Settings → Teams → Your Team → Service Accounts → Add Service Account
-
Copy the generated token.
-
In your GitHub repo → Settings → Secrets and Variables → Actions, add:
-
TCLI_AUTH_TOKEN→ Thunderstore token -
GH_AUTH_TOKEN→ GitHub token (back from the Mod setup guide, this should already be present)
-
Step 3: Publish Your Mod
-
Update
thunderstore.toml:versionNumber = "1.0.0"Replace
"1.0.0"with the version number you wish.Double check to make sure the dependencies are correct.
-
Commit your changes to
thunderstore.toml. -
Tag your release
git tag 1.0.0 git push origin tag 1.0.0Replacing
1.0.0with the version you chose previously. -
GitHub Actions will automatically build and publish to Thunderstore.
If the Action fails, share the run link in the Shiny Shoe Discord
#mt2-moddingchannel for assistance. -
If successful the Github Action will create a release. Check the releases in your GitHub repository and edit the release that was created by the action as the latest release. Optionally edit the release notes.
-
If this is the first release, it may take a few minutes before your mod appears in Thunderstore.