You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/release.yml
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -100,12 +100,20 @@ body:
100
100
101
101
##### Release on MavenCentral
102
102
103
+
- [ ] Checkout the branch `main`
103
104
- [ ] Run the command `./gradlew publish --no-daemon --no-parallel`. You'll need some non-public element to do so
105
+
- [ ] Run the command `./gradlew closeAndReleaseRepository`. If it is working well, you can jump directly to the final step of this section.
106
+
107
+
If `./gradlew closeAndReleaseRepository` fails (for instance, several repositories are waiting to be handled), you have to close and release the repository manually. Do the following steps:
108
+
104
109
- [ ] Connect to https://s01.oss.sonatype.org
105
110
- [ ] Click on Staging Repositories and check the the files have been uploaded
106
111
- [ ] Click on close
107
112
- [ ] Wait (check Activity tab until step "Repository closed" is displayed)
108
113
- [ ] Click on release. The staging repository will disappear
114
+
115
+
Final step
116
+
109
117
- [ ] Check that the release is available in https://repo1.maven.org/maven2/org/matrix/android/matrix-android-sdk2/ (it can take a few minutes)
0 commit comments