File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,13 @@ jar {
29
29
}
30
30
}
31
31
32
+ def mainArtifact = name == " Fabric" ? remapJar. archivePath : jar. archivePath
33
+
32
34
task signJar (description : " Sign jar" ) {
33
35
doLast {
34
36
if (project. hasProperty(' keyStore' )) {
35
- logger. warn(" Signing " + jar . archivePath + " \n " )
36
- ant. signjar(jar : jar . archivePath ,
37
+ logger. warn(" Signing " + mainArtifact + " \n " )
38
+ ant. signjar(jar : mainArtifact ,
37
39
alias : project. storeAlias,
38
40
keystore : project. keyStore,
39
41
storepass : project. storePass,
@@ -99,7 +101,7 @@ def changelogFile = new File("changelog/${mod_version}.md");
99
101
100
102
if (changelogFile. exists()) {
101
103
publishMods {
102
- file = jar . archivePath
104
+ file = mainArtifact
103
105
changelog = changelogFile. text
104
106
type = STABLE
105
107
modLoaders. add(name. toLowerCase(Locale . ROOT ))
Original file line number Diff line number Diff line change
1
+ - Upload correct jar in automatic release task
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ fabric_loader_version=0.15.11
20
20
mod_name =FerriteCore
21
21
mod_author =malte0811
22
22
mod_id =ferritecore
23
- mod_version =7.0.2
23
+ mod_version =7.0.2-hotfix
24
24
25
25
# TODO can this be made to work?
26
26
# org.gradle.configuration-cache=true
You can’t perform that action at this time.
0 commit comments