From 67c671a2de263da0cbd33ef58fbdc955093dc7b4 Mon Sep 17 00:00:00 2001 From: l-1squared <30831153+l-1squared@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:56:10 +0100 Subject: [PATCH] Issue-802: remove sed and use ascii export Signed-off-by: l-1squared <30831153+l-1squared@users.noreply.github.com> --- .github/workflows/mock_release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mock_release.yaml b/.github/workflows/mock_release.yaml index 5b0e27e7dc3..c914b02903e 100644 --- a/.github/workflows/mock_release.yaml +++ b/.github/workflows/mock_release.yaml @@ -25,7 +25,10 @@ jobs: - name: set an alternate version run: "source scripts/source_files/helper_functions.sh && updateAllVersionInformation ${VERSION}" - name: Attempt mock release - run: ./gradlew test publishMavenPublicationToMavenLocal publishMavenPublicationToMavenRepository -PsigningKey=$(gpg --batch --pinentry-mode=loopback --yes --passphrase "${GPG_PASSWORD}" --export-secret-key "${GPG_KEY_ID}" | sed -e '/^---.*/d' | tr -d '\n') -PsigningPassword="${GPG_PASSWORD}" + run: > + ./gradlew test publishMavenPublicationToMavenLocal publishMavenPublicationToMavenRepository + -PsigningKey=$(gpg --batch --pinentry-mode=loopback --yes --passphrase "${GPG_PASSWORD}" --armor --export-secret-key "${GPG_KEY_ID}") + -PsigningPassword="${GPG_PASSWORD}" - name: Upload test results html files continue-on-error: true if: ${{failure()}}