Skip to content

Commit 6d1eb6c

Browse files
committed
Prepare for first Maven Central release: groupId io.github.beast2-dev, beast 2.8.0-beta4
1 parent 4d3c186 commit 6d1eb6c

2 files changed

Lines changed: 43 additions & 2 deletions

File tree

RELEASING.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Releasing BEASTLabs to Maven Central
2+
3+
Pushing a `v*` tag triggers the `ci-publish.yml` workflow, which
4+
derives the Maven version from the tag, builds, tests, GPG-signs, and
5+
auto-publishes to Maven Central.
6+
7+
## Pre-tag checklist
8+
9+
1. **`version.xml`** -- update the `version` attribute to match the release.
10+
11+
2. **`pom.xml`** -- ensure `beast.version` points to a published beast3 release.
12+
13+
3. **Commit** the above changes to master.
14+
15+
## Tag and release
16+
17+
```bash
18+
git tag v2.1.0
19+
git push origin v2.1.0
20+
```
21+
22+
Monitor the workflow run at:
23+
https://github.com/BEAST2-Dev/BEASTLabs/actions/workflows/ci-publish.yml
24+
25+
## After release
26+
27+
Verify the artifacts appear on Maven Central:
28+
https://central.sonatype.com/namespace/io.github.beast2-dev
29+
30+
## Secrets required (GitHub Actions)
31+
32+
Stored as BEAST2-Dev **org-level** secrets so all repos can share them:
33+
34+
| Secret | Description |
35+
|--------|-------------|
36+
| `GPG_PRIVATE_KEY` | `gpg --armor --export-secret-keys <KEY_ID>` |
37+
| `GPG_PASSPHRASE` | Passphrase for the GPG key |
38+
| `CENTRAL_USERNAME` | Sonatype Central Portal token username |
39+
| `CENTRAL_TOKEN` | Sonatype Central Portal token password |
40+
41+
Generate Sonatype tokens at https://central.sonatype.com/account

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>io.github.compevol</groupId>
7+
<groupId>io.github.beast2-dev</groupId>
88
<artifactId>beast-labs</artifactId>
99
<version>2.1.0-SNAPSHOT</version>
1010

@@ -65,7 +65,7 @@
6565
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6666
<maven.compiler.release>25</maven.compiler.release>
6767

68-
<beast.version>2.8.0-beta2</beast.version>
68+
<beast.version>2.8.0-beta4</beast.version>
6969
<javafx.version>25.0.2</javafx.version>
7070
<beast.module>beast.base</beast.module>
7171
<beast.main>beast.base.minimal.BeastMain</beast.main>

0 commit comments

Comments
 (0)