Skip to content

Commit

Permalink
Put build number in the patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Nov 1, 2023
1 parent 2b6a67b commit ca2d819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ base {

ext.buildnumber = 0
project.buildnumber = System.getenv('BUILD_NUMBER')
version = "${mod_version}-" + (buildnumber ? "${release_type}+${buildnumber}" : "SNAPSHOT")
version = "${mod_version}" + (buildnumber ? ".${buildnumber}-${release_type}" : ".0-SNAPSHOT")

java.toolchain.languageVersion = JavaLanguageVersion.of(17)

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mod_version=1.3.0
mod_version=1.3
release_type=release
minecraft_version=1.20.1
forge_version=47.0.19
Expand Down

0 comments on commit ca2d819

Please sign in to comment.