From 6b38178b298ba6da8a497698106700852025bc98 Mon Sep 17 00:00:00 2001 From: nobkd <44443899+nobkd@users.noreply.github.com> Date: Tue, 3 Oct 2023 18:42:54 +0200 Subject: [PATCH] chore: use tag name --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- .prettierignore | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4cdf049..698b149 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,5 +58,5 @@ jobs: - name: Test run: npm run test:cov - - - run: echo "https://github.com/nobkd/replace-maps/archive/refs/tags/${{ github.ref_name }}.zip" + + - run: echo "https://github.com/nobkd/replace-maps/archive/refs/tags/${{ github.event.release.tag_name }}.zip" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a24bee9..82153b3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,10 +40,10 @@ jobs: with: addon-id: "replace_maps@nobkd.github.io" addon-path: "out/replace_maps.zip" - source-path: "https://github.com/nobkd/replace-maps/archive/refs/tags/${{ github.ref_name }}.zip" + source-path: "https://github.com/nobkd/replace-maps/archive/refs/tags/${{ github.event.release.tag_name }}.zip" approval-note: | Follow the instructions in AMO-README.md auth-api-issuer: ${{ secrets.AUTH_API_ISSUER }} auth-api-secret: ${{ secrets.AUTH_API_SECRET }} - # TODO: upload signed extension artifact + # TODO: upload signed extension to release artifacts diff --git a/.prettierignore b/.prettierignore index c363ad2..922ee69 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,5 +1,6 @@ package-lock.json *.md +.github dist out coverage