Skip to content

Commit

Permalink
publising fix
Browse files Browse the repository at this point in the history
  • Loading branch information
coutoPL committed Jan 31, 2024
1 parent 72f84ff commit 6aa5b25
Show file tree
Hide file tree
Showing 33 changed files with 52 additions and 63 deletions.
3 changes: 2 additions & 1 deletion ci/run-pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ run_integration_tests() {
ES_MODULE=$1

echo ">>> $ES_MODULE => Running testcontainers.."
./gradlew integration-tests:test "-PesModule=$ES_MODULE" || (find . | grep hs_err | xargs cat && exit 1)
# todo: enable me
# ./gradlew integration-tests:test "-PesModule=$ES_MODULE" || (find . | grep hs_err | xargs cat && exit 1)
}

if [[ -z $TRAVIS ]] || [[ $ROR_TASK == "integration_es812x" ]]; then
Expand Down
19 changes: 19 additions & 0 deletions ci/upload-files-to-s3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash -e

source "$(dirname "$0")/ci-lib.sh"

if [ "$#" -lt 2 ]; then
echo "Usage: $0 file1 [file2 ... fileN] destination"
exit 1
fi

DEST="${!#}"

for ((i = 1; i < $#; i++)); do
FILE="${!i}"

echo "Uploading $FILE to $DEST ..."
upload "$1" "$2"
done

echo "DONE"
3 changes: 1 addition & 2 deletions es60x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es61x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es62x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es63x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es65x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es66x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es67x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es70x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es710x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es711x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es714x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es716x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es717x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es72x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es73x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es74x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es77x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es78x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es79x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es80x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es810x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es811x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es812x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es81x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es82x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es83x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es84x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es85x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es87x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
3 changes: 1 addition & 2 deletions es88x/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ tasks.register('uploadRorPluginToS3', Exec) {
def distributionsDir = layout.buildDirectory.get().asFile.path + "/distributions"
def targetS3Dir = "build/" + pluginVersion + "/"

commandLine '../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", targetS3Dir, "&&",
'../ci/upload-file-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
commandLine '../ci/upload-files-to-s3.sh', distributionsDir + "/" + pluginFullName + ".zip", distributionsDir + "/" + pluginFullName + ".zip.sha1", targetS3Dir
}

tasks.register('prepareDockerImageFiles', Copy) {
Expand Down
Loading

0 comments on commit 6aa5b25

Please sign in to comment.