From c199b6701824ab32d1b00676b6f7f072fa4f8c01 Mon Sep 17 00:00:00 2001 From: Kevin Li Date: Wed, 25 Oct 2023 15:25:15 +0000 Subject: [PATCH] ci: Fix clean up step for signed artifact (#657) Issue #, if available: *Description of changes:* Fix the error in pkg build in aws: "error: argument subcommand: Invalid choice" introduced in https://github.com/runfinch/finch/pull/458/files#diff-0134cf9698393331b869104a3488e7a44bd4c112dbb3b6a10b0acbb7b26f886aR41 - [X] I've reviewed the guidance in CONTRIBUTING.md #### License Acceptance By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: Kevin Li --- installer-builder/tools/artifact-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer-builder/tools/artifact-helper.sh b/installer-builder/tools/artifact-helper.sh index cd113d85f..df6c60765 100755 --- a/installer-builder/tools/artifact-helper.sh +++ b/installer-builder/tools/artifact-helper.sh @@ -38,7 +38,7 @@ downloadSignedExecutables() { fi tar xzvf "./installer-builder/output/executables/signed/finch-executables-${1//_/-}.zip" -C ./installer-builder/output/executables/signed - aws s3 "rm s3://${2}-${1//_/-}/pre-signed/package.tar.gz" + aws s3 rm "s3://${2}-${1//_/-}/pre-signed/package.tar.gz" } #$1: arch: {x86_64, aarch64}