Skip to content

Commit 1c24705

Browse files
committed
Fixed publish to S3 and Github
1 parent 842bb48 commit 1c24705

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

build.gradle

+2-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ checkstyle {
106106

107107
task S3Upload(type: S3Upload /*, dependsOn: buildPluginZip*/) {
108108
bucket = s3_bucket
109-
key = "elasticsearch/${project.name}-${version}.zip"
109+
key = "elasticsearch/elasticsearch-${project.name}-${version}.zip"
110110
file = "build/distributions/${project.name}-${version}.zip"
111111
}
112112

@@ -133,7 +133,6 @@ task release() {
133133
println("SNAPSHOT: Nothing to release !")
134134
}
135135
} else {
136-
// dependsOn(["S3Upload", "githubRelease"])
137-
dependsOn("S3Upload")
136+
dependsOn(["S3Upload", "githubRelease"])
138137
}
139138
}

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
rootProject.name = "elasticsearch-prometheus-exporter"
1+
rootProject.name = "prometheus-exporter"

0 commit comments

Comments
 (0)