@Arperum well it's quite simple, just have a template directory with the right structure, put the mod jar in it, get the mod ID and version from the mod jar, zip the directory to modid-modversion.zip
, put the generated zip in the modid
directory in the repo, clean up the template directory