Okay so to use this thing, you need to add it to all branches and all tags of your project that you want downloadable via jitpack.
For tags, this means you'll likely need to rerelease said tags with the jitpack.yml
file added, this can be a bit tricky, so here's the steps.
- Get yourself the Github CLI tools: https://cli.github.com/, and authenticate your account with said tools. Instructions on how to use the Github CLI can be found here: https://cli.github.com/manual/
- Clone your repository (or a fork of it, if it isn't your project) into a local directory, and create a branch for each tag you need to update that is NOT up-to-date with the current main branch/branch for that minecraft version.
- For each brach corrisponding to a specific tag:
a: run
git checkout BRANCH_NAME_HERE
, withBRANCH_NAME_HERE
replaced with the name of the branch b: rungit reset --hard TAG_NAME_HERE
withTAG_NAME_HERE
replaced with the name of the tag c: rungit push -f origin BRANCH_NAME_HERE