Skip to content

Fix: prod deploy workflow uses infra release tag as JAR version#5

Merged
jcpitre merged 1 commit into
mainfrom
fix/prod-deploy-release-tag-version
Apr 30, 2026
Merged

Fix: prod deploy workflow uses infra release tag as JAR version#5
jcpitre merged 1 commit into
mainfrom
fix/prod-deploy-release-tag-version

Conversation

@jcpitre
Copy link
Copy Markdown
Contributor

@jcpitre jcpitre commented Apr 30, 2026

Problem

When a release is published on this repo, the release trigger passes github.event.release.tag_name (e.g. v1.0.0) as the GBFS_API_IMAGE_VERSION. The deployer then uses that value as the Maven artifact version, causing the build to fail because no such version exists in Maven Central:

Could not find artifact org.mobilitydata:gbfs-validator-java-api:jar:v1.0.0 in central

Root cause

The infra repo now has its own versioning (v1.0.0) that is decoupled from the gbfs-validator-java JAR version.

Fix

Remove github.event.release.tag_name from GBFS_API_IMAGE_VERSION. When triggered by a release event (or a workflow_dispatch with no version specified), the field is now empty and the deployer correctly falls back to RELEASE, downloading the latest release from Maven Central.

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@jcpitre jcpitre requested a review from davidgamez April 30, 2026 17:00
@jcpitre jcpitre merged commit b554568 into main Apr 30, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants