Skip to content

Commit 6608264

Browse files
authored
Merge pull request #6424 from vector-im/feature/bma/release_recipe
Replace 5 manual steps to 1 command line step
2 parents 8da88f9 + 1556e5d commit 6608264

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/ISSUE_TEMPLATE/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,20 @@ body:
100100
101101
##### Release on MavenCentral
102102
103+
- [ ] Checkout the branch `main`
103104
- [ ] 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+
104109
- [ ] Connect to https://s01.oss.sonatype.org
105110
- [ ] Click on Staging Repositories and check the the files have been uploaded
106111
- [ ] Click on close
107112
- [ ] Wait (check Activity tab until step "Repository closed" is displayed)
108113
- [ ] Click on release. The staging repository will disappear
114+
115+
Final step
116+
109117
- [ ] Check that the release is available in https://repo1.maven.org/maven2/org/matrix/android/matrix-android-sdk2/ (it can take a few minutes)
110118
111119
##### Release on GitHub

0 commit comments

Comments
 (0)