From d7c206dcc6102c81fc3db66a6289bb8380969ccd Mon Sep 17 00:00:00 2001 From: David Wendt Date: Fri, 7 Apr 2023 21:13:39 -0400 Subject: [PATCH] web: Filter newlines out of the release tag for the Firefox signing step, too --- .github/workflows/release_amo.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_amo.yml b/.github/workflows/release_amo.yml index 6fd37b66e..c4060abe4 100644 --- a/.github/workflows/release_amo.yml +++ b/.github/workflows/release_amo.yml @@ -69,7 +69,10 @@ jobs: FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }} MOZILLA_API_KEY: ${{ secrets.MOZILLA_API_KEY }} MOZILLA_API_SECRET: ${{ secrets.MOZILLA_API_SECRET }} - SOURCE_TAG: ${{ steps.release_tag.outputs.stdout }} working-directory: web/packages/extension shell: bash -l {0} - run: npm run sign-firefox \ No newline at end of file + run: | + export SOURCE_TAG="${{steps.release_tag.outputs.stdout}}" + export SOURCE_TAG=${SOURCE_TAG//$'\n'/} + + npm run sign-firefox \ No newline at end of file