File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Publish Release
2
2
on :
3
3
push :
4
4
tags :
5
- - ' v4 **'
5
+ - ' v **'
6
6
7
7
concurrency :
8
8
cancel-in-progress : true
65
65
gradle-version : ${{ env.GRADLE_VERSION }}
66
66
67
67
- name : Publish releases
68
- run : gradle publishAndReleaseToMavenCentral -i --warning-mode all --no-configuration-cache -x test
68
+ run : gradle publishToMavenCentral -i --warning-mode all --no-configuration-cache -x test
69
69
env :
70
70
SIMBOT_IS_SNAPSHOT : false
71
71
SIMBOT_RELEASES_ONLY : true
Original file line number Diff line number Diff line change 82
82
gradle-version : ${{ env.GRADLE_VERSION }}
83
83
84
84
- name : Publish snapshots
85
- run : gradle publishAllPublicationsToMavenCentralRepository -s --warning-mode all --no-configuration-cache
85
+ run : gradle publishToMavenCentral -s --warning-mode all --no-configuration-cache
86
86
env :
87
87
SIMBOT_IS_SNAPSHOT : true
88
88
ORG_GRADLE_PROJECT_org.gradle.jvmargs : " -Xmx8g -Xms2g -XX:MaxMetaspaceSize=1g -Dfile.encoding=UTF-8"
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ setup(P.ComponentOneBot)
31
31
val p = project
32
32
33
33
mavenPublishing {
34
- publishToMavenCentral()
34
+ publishToMavenCentral(automaticRelease = true )
35
35
if (! isSimbotLocal()) {
36
36
signAllPublications()
37
37
}
You can’t perform that action at this time.
0 commit comments