Hey there! You may want to consider restructuring your asset to fit the expected layout mentioned in the Asset Library recommendations. Something like addons/<addon name>/<content> while leaving the .gitignore, license, readme, and anything else not explicitly used in the addon itself in the root of the repository.
Then you can employ a simple .gitattributes file so that users download just your asset instead of the whole repo:
# Normalize line endings for all files that Git considers text files.
* text=auto eol=lf
# Only include the addons folder when downloading from the Asset Library.
/** export-ignore
/addons !export-ignore
/addons/** !export-ignore
Hey there! You may want to consider restructuring your asset to fit the expected layout mentioned in the Asset Library recommendations. Something like
addons/<addon name>/<content>while leaving the .gitignore, license, readme, and anything else not explicitly used in the addon itself in the root of the repository.Then you can employ a simple .gitattributes file so that users download just your asset instead of the whole repo: