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: MAINTAINING.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,17 +27,17 @@ Merge pull-request #PULLREQUEST-ID from cboehme/fix-xy
27
27
We shall make releases quarterly. Approximate timetable is every Januar, April, July, October.
28
28
We may publish `master-SNAPSHOT` builds more frequently.
29
29
30
-
Releasing involves to first make and test the release candidate before actually making the release. Note that we provide a *GitHub release for manual download* as well as a *release on Maven central* to be consumed as a library.
30
+
Releasing involves to first make and test the release candidate before actually making the release. Note that we provide a *GitHub release for manual download* as well as a *release on Maven central* to be consumed as a library.
31
31
32
32
It's good habit to use semantic versioning in release numbers `A`.`B`.`C`, i.e. increase `A` when it's a major release breaking backward compatibility; increase `B` when it got new features; increase `C` indicating bug-fixes. A suffix like `rcN` (where `N` is a number) indicates a release candidate (`rc`).
33
33
34
34
To upload to Sonatype you need (as well for the release candidate as for the release) a `gradle.properties` in the root directory that looks like this:
35
35
36
36
```
37
-
signing.gnupg.executable=gpg
38
-
signing.gnupg.useLegacyGpg=true
39
-
signing.gnupg.homeDir=$e.g."~/.gnupg"
40
-
signing.gnupg.keyName=$yourKeyName
37
+
signing.gnupg.executable=gpg
38
+
signing.gnupg.useLegacyGpg=true
39
+
signing.gnupg.homeDir=$e.g."~/.gnupg"
40
+
signing.gnupg.keyName=$yourKeyName
41
41
signing.password=$keysPassphrase
42
42
# depending on gradle plugin versions etc. you may need to use:
43
43
# signing.keyId=$yourKeyName
@@ -114,7 +114,7 @@ Note that `Packages` is not the same as [`Releases`](https://github.com/metafact
114
114
### Consume the SNAPSHOT
115
115
116
116
1. See e.g. [Example for 5.5.1-rc1-SNAPSHOT](https://oss.sonatype.org/index.html#nexus-search;gav~org.metafacture~~5.5.1*~~) how to configure the dependency.
117
-
1. Configure your build system to use Sonatype's Snapshot Repository to be able to load the dependencies of the release candidate (or master-SNAPSHOT).
117
+
1. Configure your build system to use Sonatype's Snapshot Repository to be able to load the dependencies of the release candidate (or master-SNAPSHOT).
118
118
For Maven update your `pom.xml` (after `</dependencies>`):
119
119
```xml
120
120
<repositories>
@@ -156,7 +156,7 @@ a) It's going from your local Git repository to Sonatype to Maven Central. Each
156
156
157
157
1. Make sure you have a signed tag locally:
158
158
```
159
-
git show metafacture-core-A.B.C
159
+
git show metafacture-core-A.B.C
160
160
```
161
161
If it doesn't exist yet, create it:
162
162
```
@@ -183,13 +183,13 @@ a) It's going from your local Git repository to Sonatype to Maven Central. Each
183
183
```
184
184
git status
185
185
```
186
-
1. Let the release be built and uploaded (the SCM tag will be detected and the release be built):
186
+
1. Let the release be built and uploaded (the SCM tag will be detected and the release be built):
1. Finally, go to [oss.sonatype.org](https://oss.sonatype.org), log in, check the [Staging Repositories](https://oss.sonatype.org/#stagingRepositories) and when it's finished, click on `Close`. If everything is good publish with clicking on `Release` - attention, because once published it can't be removed. The artifacts are uploaded to Maven Central (which may take some time. Have a look e.g. [metafacture-biblio](https://repo1.maven.org/maven2/org/metafacture/metafacture-biblio/) ). You can check that it's actually in the publishing pipeline by clicking on `Views/Repositories->Releases`, then type in the `Path lookup` field `org/metafacture/` and click on version.
191
191
192
192
## Release Metafacture-Fix
193
193
194
-
As long as we have two repos we should immediately also release metafacture-fix:
194
+
As long as we have two repos we should immediately also release metafacture-fix:
195
195
Go update [Metafacture-Fix](https://github.com/metafacture/metafacture-fix/) and follow https://github.com/metafacture/metafacture-fix/wiki/Maintainer-Guidelines.
0 commit comments