Repository navigation
Commit 3a2df08
Update in-repo api dependency when releasing the api (#310)
## 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
- [x] 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)
- [x] `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](https://claude.com/claude-code)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 8816186 commit 3a2df08
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
96 | 105 | | |
97 | | - | |
| 106 | + | |
98 | 107 | | |
99 | 108 | | |
100 | 109 | | |
| |||
0 commit comments