Skip to content

Commit db64781

Browse files
committed
Bump beast to 2.8.0-beta5; fix tag-push deploy; restore CBAN ZIP naming
- beast.version 2.8.0-beta4 -> 2.8.0-beta5 - pom version 1.3.0-beta2 -> 1.3.0-beta3 - beast.pkg.version 1.3.0-beta2 -> 1.3.0 and version.xml 1.3.0-beta2 -> 1.3.0, restoring the original convention (commit 1d62def had inadvertently baked -beta2 into the BEAST package version, producing MM.v1.3.0-beta2.zip; CBAN expects MM.v1.3.0.zip across betas). ci-publish.yml: - gate 'Build and test' to non-tag pushes - replace 'mvn deploy -Prelease -DskipTests' with 'mvn -Prelease clean deploy'. Two-step verify+deploy left unsigned package outputs in target/ from step 1; step 2 then ran the lifecycle without clean, leaving artifact bytes out of sync with the .asc files. Sonatype rejected the FLC tag release with 'Invalid signature' on zip/sources/javadoc while jar/pom verified. Single clean deploy from a tag avoids that.
1 parent 1942159 commit db64781

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/workflows/ci-publish.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ jobs:
4444
mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false
4545
4646
- name: Build and test
47+
if: "!startsWith(github.ref, 'refs/tags/v')"
4748
run: mvn verify
4849

4950
- name: Publish to Maven Central
5051
if: startsWith(github.ref, 'refs/tags/v')
51-
run: mvn deploy -Prelease -DskipTests
52+
run: mvn -Prelease clean deploy
5253
env:
5354
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
5455
CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }}

‎pom.xml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.compevol</groupId>
88
<artifactId>morph-models</artifactId>
9-
<version>1.3.0-beta2</version>
9+
<version>1.3.0-beta3</version>
1010

1111
<name>Morph Models</name>
1212
<description>Lewis MK/MKv substitution models for discrete morphological data</description>
@@ -38,13 +38,13 @@
3838
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
3939
<maven.compiler.release>25</maven.compiler.release>
4040

41-
<beast.version>2.8.0-beta4</beast.version>
41+
<beast.version>2.8.0-beta5</beast.version>
4242
<javafx.version>25.0.2</javafx.version>
4343
<beast.module>beast.base</beast.module>
4444
<beast.main>beast.base.minimal.BeastMain</beast.main>
4545
<beast.args/>
4646
<beast.pkg.name>MM</beast.pkg.name>
47-
<beast.pkg.version>1.3.0-beta2</beast.pkg.version>
47+
<beast.pkg.version>1.3.0</beast.pkg.version>
4848
</properties>
4949

5050
<dependencies>

‎version.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<package name='MM' version='1.3.0-beta2'>
1+
<package name='MM' version='1.3.0'>
22
<depends on='BEAST.base' atleast='2.8.0'/>
33

44
<service type="beast.base.core.BEASTInterface">

0 commit comments

Comments
 (0)