Automate version filling in CarpetSettings and add date to version in mod json
This commit is contained in:
2 files changed
+4
-3
No files matched your search
+2
-2
@@ -31,10 +31,10 @@ dependencies {
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
inputs.property "version", project.version+'+v'+new Date().format('yyMMdd')
|
||||
|
||||
filesMatching("fabric.mod.json") {
|
||||
expand "version": project.mod_version
|
||||
expand "version": project.mod_version+'+v'+new Date().format('yyMMdd')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user