Skip to content

Commit 9af1e75

Browse files
committed
Removed staging step and cleanup
1 parent fbfc806 commit 9af1e75

File tree

5 files changed

+17
-105
lines changed

5 files changed

+17
-105
lines changed

.github/actions/extract-version/action.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
name: Release
22

3-
# Triggered by GitHub release events:
4-
# - Creating a pre-release with tag vX.Y.Z → builds and stages artifacts to Maven Central
5-
# (USER_MANAGED, pending). Review them at https://central.sonatype.com, then convert
6-
# the pre-release to a full release when satisfied.
7-
# - Publishing a full release → rebuilds and publishes artifacts to Maven Central immediately.
3+
# Triggered when a GitHub release is published (released).
4+
# Builds, signs, and publishes all artifacts to Maven Central automatically.
5+
# The CLI fat jar is also uploaded to the GitHub release assets.
86
#
97
# The project version is derived from the git tag (e.g. v3.0.0 → 3.0.0) and applied to all
108
# modules in-place via versions:set before building. No pom.xml version commits are needed.
119
on:
1210
release:
13-
types: [prereleased, released]
11+
types: [released]
1412

1513
env:
1614
java_version: '17'
@@ -77,11 +75,7 @@ jobs:
7775
- name: Stage artifacts
7876
run: mvn deploy -Ppublication -Dprettier.skip=true -ntp
7977
- name: Deploy to Maven Central
80-
# prereleased: USER_MANAGED — artifacts sit pending in the portal for review.
81-
# released: AUTOMATIC — artifacts are published immediately after validation.
82-
# jreleaser:deploy only handles Maven Central; GitHub release management is done by the GitHub UI.
8378
env:
84-
JRELEASER_DEPLOY_MAVEN_MAVENCENTRAL_SONATYPE_PUBLISHING_TYPE: ${{ github.event.action == 'prereleased' && 'USER_MANAGED' || 'AUTOMATIC' }}
8579
JRELEASER_GPG_PASSPHRASE: ${{ env.MAVEN_GPG_PASSPHRASE }}
8680
JRELEASER_GPG_SECRET_KEY: ${{ env.MAVEN_GPG_PRIVATE_KEY }}
8781
run: mvn jreleaser:deploy -Djreleaser.output.directory=out -ntp

.mvn/extensions.xml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.mvn/maven-git-versioning-extension.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.entur.gbfs.validation;
2+
3+
/**
4+
* Build marker class — presence and BUILD_TAG value confirm which snapshot is in use.
5+
* Check with: jar tf gbfs-validator-java-*.jar | grep BuildInfo
6+
*/
7+
public final class GbfsValidatorBuildInfo3 {
8+
9+
public static final String BUILD_TAG = "jcpitre-2026-04-06";
10+
11+
private GbfsValidatorBuildInfo3() {}
12+
}
13+

0 commit comments

Comments
 (0)