Skip to content

Garry's Mod Publish doesn't respect ignore list in addon.json #70

Open
@sappykun

Description

@sappykun

I am trying to upload an addon to the workshop (Wardrobe). The git repository contains some license files, some markdown files, and an assets folder with some PNG files. To make the process easier for me between updating the workshop addon and updating the git repo at the same time, I am trying to upload everything as-is, ignoring files depending on the platform.
When uploading an addon, Garry's Mod lets you specify a list of files to ignore. My ignore list looks like this:

"ignore":
[
	"assets",
	"*.md",
	"COPYRIGHT",
	"LICENSE-APACHE",
	"LICENSE-MIT"
]

When uploading with Crowbar, it always tries to rewrite the addon.json file, removing the ignore list and preventing the addon from being uploaded as per the file whitelist rules. I am able to upload the addon with all of the blacklisted files via gmad.exe/gmpublish.exe since it can use the ignore list to ignore those files. I can also upload/update the addon via Crowbar if the blacklisted files are deleted manually, then restored via git afterwards.

I would like to request that Crowbar keep the ignore list intact when going through the addon.json file. A text box within Crowbar itself that contains the ignore list would be preferable, but not necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions