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 a0bba91 commit a0ee479
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 @@ -182,6 +182,10 @@ processResources {
}
}

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

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

0 comments on commit a0ee479

Please sign in to comment.