Hosting addons on CurseForge with Git

    • Official Post

    Create addon

    • Visit Start Project - Addons - Projects - Chronicles of Arcadia CurseForge website.
    • Fill in fields:
      • You must choose licence. Most common for addons is GNU General Public License version 3 (GPLv3). It will ensure you that your credits won't be lost and that someone else can continue work over addon if you are not doing it any longer.
        Please note that if you update/rework existing addon you should make sure you meet their license and use same if needed or credit addon authors.
      • It is recommended to enable Localization system to reach wider audience.

    Customize settings

    • Open project settings.
    • It is useful to enable Issues -> Internal, so users could report you suggestions or bugs directly on CurseForge.
    • Enable Source Code -> CurseForge to enable Git repository.
    • Enable Automatic Packaging -> Package all commits to make your pushes be immediately packed as files.

    Git program

    • Download latest version of GitExtensions.
    • After installation everything should be completed, however if you see red bars in settings after opening, follow steps to install/configure missing elements.
    • Create your author name and e-mail. It will be visible to everyone across Git repository and CurseForge automatic patchnotes.

    Clone repository

    • Visit Source tab of your project.
    • Copy URL https://repos.curseforge.com/chronicles-of-arcadia/[addon-name].
    • Open Start -> Clone repository in GitExtensions:
      • Repository to clone: Copied URL.
      • Destination: Parent working directory (most likely x\interface\addons\).
      • Subdirectory to create: Your addon directory (if it conflict with already existing name, rename your addon directory for a while).
    • Clone.

    Commit

    • Put your addon files in created directory.
    • Open Commit ([number]) purple icon from top menu of GitExtensions.
    • Stage files (move to bottom pane), you can also stage only selected lines with right click on code (in case you want commit only certain lines at the moment).
    • Enter commit message, it will appear in automatic patchnotes on CurseForge and will be visible for everyone. You can describe here changes you made to your addon with current commit.
      If you name it well, it will be useful in future in case you want easily find old code.
    • Commit.

    Authenticate account

    Push

    • If you want publish Alpha version, simply use Push top arrow near Commit button on top menu.
    • If you want publish Beta version, right click on newest commit and use Create new tag and call it in format 1.0.0-beta, check Push tag to 'origin' and simply Create tag. Then just Push.
    • If you want publish Release version, right click on newest commit and use Create new tag and call it in format 1.0.0, check Push tag to 'origin' and simply Create tag. Then just Push.