From fc176d5a38975eb1b81056f6ffb38e0de1270f0e Mon Sep 17 00:00:00 2001 From: prudhvigodithi Date: Wed, 27 Jul 2022 13:37:27 -0400 Subject: [PATCH] Add mac stage: add sed fix Signed-off-by: prudhvigodithi --- vars/uploadMinSnapshotsToS3.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/uploadMinSnapshotsToS3.groovy b/vars/uploadMinSnapshotsToS3.groovy index 695cd7d7b1..4603949f0e 100644 --- a/vars/uploadMinSnapshotsToS3.groovy +++ b/vars/uploadMinSnapshotsToS3.groovy @@ -30,7 +30,7 @@ void call(Map args = [:]) { sh """ cp ${srcDir}/${baseName}.${extension} ${srcDir}/${baseName}-latest.${extension} cp ${srcDir}/${baseName}.${extension}.sha512 ${srcDir}/${baseName}-latest.${extension}.sha512 - sed -i '' "s/.${extension}/-latest.${extension}/g" ${srcDir}/${baseName}-latest.${extension}.sha512 + sed -i "s/.${extension}/-latest.${extension}/g" ${srcDir}/${baseName}-latest.${extension}.sha512 """ withCredentials([ string(credentialsId: 'jenkins-artifact-promotion-role', variable: 'ARTIFACT_PROMOTION_ROLE_NAME'),