Skip to content

Commit

Permalink
Add var project.build.outputTimestamp to enable reproducible builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekkow committed Jun 27, 2022
1 parent c415093 commit 479960d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
-DremotePom='org.keycloak:keycloak-parent:${{ steps.vars.outputs.keycloakVersion }}' \
-DupdateDependencies=true -DupdatePropertyVersions=true
mvn versions:use-latest-versions -DallowMajorUpdates=false
mvn versions:set-property -Dproperty=project.build.outputTimestamp -DnewVersion=`date +%s`
- id: create_commit
name: Create commit
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<project.build.outputTimestamp>1656367890</project.build.outputTimestamp>
</properties>

<dependencies>
Expand Down

0 comments on commit 479960d

Please sign in to comment.