Skip to content

Commit

Permalink
fix: github tag version not used in jar versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Aug 30, 2024
1 parent e663924 commit 16f7456
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ processResources {
}
}

if (System.getenv('MOD_VERSION') != null) {
props.put('mod_version', System.getenv('MOD_VERSION'))
}

filesMatching(['META-INF/neoforge.mods.toml', 'pack.mcmeta']) {
expand props
}
Expand Down

0 comments on commit 16f7456

Please sign in to comment.