Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add up-to-date check for release check #1202

Conversation

codecholeric
Copy link
Collaborator

It happened several times that a release dependency (e.g. slf4j-api) was updated e.g. by Dependabot, but the respective expected POM template for the release check was forgotten to adjust. This then makes the release fail, because it thinks the produced POM file doesn't match the expected one. We now ensure during build that the release check POM file dependency versions still match the project dependencies, so this can't go out of sync anymore.

It happened several times that a release dependency (e.g. `slf4j-api`) was updated e.g. by Dependabot, but the respective expected POM template for the release check was forgotten to adjust.
This then makes the release fail, because it thinks the produced POM file doesn't match the expected one.
We now ensure during build that the release check POM file dependency versions still match the project dependencies, so this can't go out of sync anymore.

Signed-off-by: Peter Gafert <peter.gafert@archunit.org>
@codecholeric codecholeric force-pushed the ensure-release-check-stays-in-sync-with-dependency-upgrades branch from a17fd24 to 69241da Compare December 3, 2023 22:50
@codecholeric codecholeric merged commit c04665a into main Dec 3, 2023
21 checks passed
@codecholeric codecholeric deleted the ensure-release-check-stays-in-sync-with-dependency-upgrades branch December 3, 2023 23:03
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.

None yet

2 participants