Skip to content

Getting the mod version from the gradle.properties file #100

Closed Answered by Kir-Antipov
mineTomek asked this question in Q&A
Discussion options

You must be logged in to vote

I apologize for the delayed response. I've been busy working on lots of projects, including this one.

First of all, I recommend checking out default values for different inputs, as there's a lot of unnecessary duplication in your config:

  1. You do not need to specify the loaders input. Its value is already inferred by mc-publish since you are publishing a Fabric mod.
  2. You do not need to specify game-versions. They are inferred from fabric.mod.json.
  3. You do not need to specify github-tag as long as its value is exactly the same as the version's.
  4. You do not need to specify github-prerelease as long as its value correlates with the version-type's (as it is in your case).

Also, I do not recommen…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mineTomek
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants