Skip to content

Automate publishing your .c3addon builds to Construct Addons page

License

Notifications You must be signed in to change notification settings

ConstructFund/c3addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c3addon

This is a simple script to publish your .c3addon to the Construct Addon registry.

See how to configure GitHub Actions to publish your addon automatically.

CLI Usage

Publishing a .c3addon file

If you provide a .c3addon file, the script will publish it directly. You may also provide a directory, in which case the script will pack the directory into a .c3addon file before publishing.

npx c3addon publish <c3addon-file-or-directory> \
	--username <username> \
	--password <password> \
	--addon-url <addon-url> \
	--release-notes <release-notes>

API Usage

import { publish } from "c3addon";

publish({
  addonUrl: "https://www.construct.net/en/make-games/addons/1057/testing-auto-release/",
  filename: "path/to/addon.c3addon",
  username: "your c3 username",
  password: "your c3 password",
  releaseNotes: "This is a release note",
});

License

MIT

About

Automate publishing your .c3addon builds to Construct Addons page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published