Skip to content

Commit

Permalink
Update to include commitId.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
lutkerd authored and alvdavi committed Jun 23, 2021
1 parent 57cc9ff commit 3b205c8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
corretto-build
commitId.txt
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ project(':openjdksrc') {
'README.md',
'THIRD_PARTY_README',
'ASSEMBLY_EXCEPTION',
'commitId.txt',
'version.txt',
'amazon-cacerts'
}
Expand Down
1 change: 1 addition & 0 deletions installers/linux/alpine/tar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ task copyBuildResults() {
include 'ASSEMBLY_EXCEPTION'
include 'LICENSE'
include 'THIRD_PARTY_README'
include 'commitId.txt'
include 'version.txt'
}
into destination
Expand Down
1 change: 1 addition & 0 deletions installers/linux/universal/tar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ task copyBuildResults() {
include 'ASSEMBLY_EXCEPTION'
include 'LICENSE'
include 'THIRD_PARTY_README'
include 'commitId.txt'
include 'version.txt'
}
into destination
Expand Down
1 change: 1 addition & 0 deletions installers/mac/tar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ task prepareArtifacts {
include 'ASSEMBLY_EXCEPTION'
include 'LICENSE'
include 'THIRD_PARTY_README'
include 'commitId.txt'
include 'version.txt'
into "Contents/Home"
}
Expand Down
8 changes: 6 additions & 2 deletions installers/windows/zip/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,16 @@ task copyImage() {
}
// Copy version.txt into JDK
copy {
from "$buildRoot/version.txt"
from "$buildRoot"
include "commitId.txt"
include "version.txt"
into "$buildRoot/build/j2sdk-image"
}
// Copy version.txt into JRE
copy {
from "$buildRoot/version.txt"
from "$buildRoot"
include "commitId.txt"
include "version.txt"
into "$buildRoot/build/j2re-image"
}
}
Expand Down

0 comments on commit 3b205c8

Please sign in to comment.