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

#92 Add archive task configuration to make the build reproducible #93

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

marko-bekhta
Copy link
Member

Fixes #92

here's how I've tested locally:

# build with no cache:
./gradlew --no-daemon --no-build-cache clean assemble publishToMavenLocal -Pskip.signing

# calculate md5s:
md5sum build/libs/hibernate-models-1.0.0-SNAPSHOT.jar build/libs/hibernate-models-1.0.0-SNAPSHOT-javadoc.jar build/libs/hibernate-models-1.0.0-SNAPSHOT-sources.jar

# rebuild with no cache again:
./gradlew --no-daemon --no-build-cache clean assemble publishToMavenLocal -Pskip.signing

# calculate md5s again and compare with the previous results:
md5sum build/libs/hibernate-models-1.0.0-SNAPSHOT.jar build/libs/hibernate-models-1.0.0-SNAPSHOT-javadoc.jar build/libs/hibernate-models-1.0.0-SNAPSHOT-sources.jar

@sebersole sebersole merged commit 9947aa8 into hibernate:main Jul 22, 2024
3 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.

Make Hibernate Models build reproducible
2 participants