Skip to content

Commit

Permalink
Upload archive files into a key structure which starts with the versi…
Browse files Browse the repository at this point in the history
…on to help organize the destination S3 bucket. (#748)

Signed-off-by: David Venable <[email protected]>
  • Loading branch information
dlvenable authored Dec 15, 2021
1 parent c5ce4e1 commit 898a3ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release/archives/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ subprojects {
dependsOn tarTask.name
file file(tarTask.archiveFile.get().asFile.absolutePath)
bucketName awsS3Bucket
key tarTask.archiveName
key "${project.rootProject.version}/${tarTask.archiveName}"

def m = new ObjectMetadata()
m.setCacheControl("no-cache, no-store")
Expand All @@ -153,7 +153,7 @@ subprojects {
dependsOn zipTask.name
file file(zipTask.archiveFile.get().asFile.absolutePath)
bucketName awsS3Bucket
key zipTask.archiveName
key "${project.rootProject.version}/${zipTask.archiveName}"

def m = new ObjectMetadata()
m.setCacheControl("no-cache, no-store")
Expand All @@ -164,7 +164,7 @@ subprojects {
dependsOn tarWithJDKTask.name
file file(tarWithJDKTask.archiveFile.get().asFile.absolutePath)
bucketName awsS3Bucket
key tarWithJDKTask.archiveName
key "${project.rootProject.version}/${tarWithJDKTask.archiveName}"

def m = new ObjectMetadata()
m.setCacheControl("no-cache, no-store")
Expand All @@ -175,7 +175,7 @@ subprojects {
dependsOn zipWithJDKTask.name
file file(zipWithJDKTask.archiveFile.get().asFile.absolutePath)
bucketName awsS3Bucket
key zipWithJDKTask.archiveName
key "${project.rootProject.version}/${zipWithJDKTask.archiveName}"

def m = new ObjectMetadata()
m.setCacheControl("no-cache, no-store")
Expand Down

0 comments on commit 898a3ff

Please sign in to comment.