Skip to content

Commit 8f9d15d

Browse files
committed
Update how to release
1 parent 9073421 commit 8f9d15d

File tree

1 file changed

+1
-47
lines changed

1 file changed

+1
-47
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -173,50 +173,4 @@ The *Definition of Done* describes a list of criteria which issues have to meet
173173

174174
### Releasing Metafacture
175175

176-
We 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.
177-
178-
#### Build and publish to GitHub
179-
180-
The following commands trigger a release build.
181-
182-
1. Create a signed tag:
183-
```
184-
git tag -s metafacture-core-A.B.C
185-
```
186-
1. When prompted, add a sensible commit message. For instance, something like:
187-
```
188-
Publish first release of the Metafacture A line
189-
```
190-
1. You can now test the build locally by invoking:
191-
```
192-
./gradlew assemble
193-
```
194-
1. Finally, push the new tag to GitHub to trigger the actual release build:
195-
```
196-
git push --follow-tags metafacture-core-A.B.C
197-
```
198-
199-
#### Publish to Maven Central
200-
201-
Upload archives to sonatype (where they can be released to Maven Central)
202-
203-
1. Make sure to have a clean directory (otherwise only a SNAPSHOT will be built):
204-
```
205-
git status
206-
```
207-
1. You need a `gradle.properties` in the root directory that looks like this:
208-
```
209-
signing.gnupg.executable=gpg
210-
signing.gnupg.useLegacyGpg=true
211-
signing.gnupg.homeDir=$e.g."~/.gnupg"
212-
signing.gnupg.keyName=$yourKeyName
213-
signing.gnupg.passphrase=$keysPassphrase
214-
releaseRepositoryUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/
215-
releaseRepositoryUser=$yourSonatypeUsername
216-
releaseRepositoryPassword=$yourSonatypePassword
217-
```
218-
1. Let the release be built, signed and uploaded:
219-
```
220-
./gradlew publishAllPublicationsToMavenRepository
221-
```
222-
1. Finally, go to oss.sonatype.org , check the `Staging Repositories` when it's finished, and release it by clicking `close`
176+
Follow the [wiki's Maintainer-Guidelines](https://github.com/metafacture/metafacture-core/wiki/Maintainer-Guidelines).

0 commit comments

Comments
 (0)