Skip to content

Update in-repo api dependency when releasing the api - #310

Merged
CatarinaGamboa merged 1 commit into
mainfrom
fix/release-api-dependents
Sep 30, 2026
Merged

CatarinaGamboa merged 1 commit into
mainfrom
fix/release-api-dependents

Conversation

@CatarinaGamboa

Copy link
Copy Markdown
Collaborator

Description

./release.sh api only bumped the version in liquidjava-api/pom.xml. The verifier and example kept depending on the previous api version until someone updated them by hand (as happened in the 0.0.7 release). The api release commit now also bumps the liquidjava-api dependency in liquidjava-verifier/pom.xml and liquidjava-example/pom.xml.

The verifier release path is unchanged.

This replaces #309: this repo doesn't need Dependabot for its own api, since the release script now keeps the modules in sync.

Example

./release.sh api 0.0.8
# Release liquidjava-api 0.0.8
#  liquidjava-api/pom.xml      | 2 +-
#  liquidjava-example/pom.xml  | 2 +-
#  liquidjava-verifier/pom.xml | 2 +-

Related Issue

#309

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Code refactoring

Checklist

  • Added/updated tests under liquidjava-example/src/main/java/testSuite/ (Correct* / Error*) (n/a, script change)
  • mvn test passes locally
  • Updated docs/README if behavior or API changed (n/a)

Testing

Ran the patched script in a throwaway clone with a local bare repo as origin:

  • ./release.sh api 0.0.8: one commit bumps all three poms, tags api-v0.0.8, pushes.
  • Root mvn clean install with api 0.0.8 not published anywhere: builds, resolving the api from the reactor (as CI does).
  • ./release.sh verifier 0.0.36: unchanged, only the verifier pom is committed; 338 tests pass.

🤖 Generated with Claude Code

./release.sh api only bumped liquidjava-api/pom.xml, leaving the verifier
and example on the previous api version until someone edited them by hand.
The release commit now bumps both dependents too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CatarinaGamboa
CatarinaGamboa merged commit 3a2df08 into main Sep 30, 2026
1 check 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.

2 participants