Skip to content

Commit

Permalink
Add mac stage: add sed fix
Browse files Browse the repository at this point in the history
Signed-off-by: prudhvigodithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Jul 27, 2022
1 parent 70d13ea commit fc176d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/uploadMinSnapshotsToS3.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit fc176d5

Please sign in to comment.