From eca00e59631bcd32e5fc1a4e5001dad0c18be94a Mon Sep 17 00:00:00 2001 From: Ian Sanders Date: Wed, 4 Oct 2023 18:09:51 +0000 Subject: [PATCH] Fix AMO release flow again..... --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 905f808..870b983 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,6 +59,12 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - run: npm ci + + - name: Update version in manifest.json + run: npx dot-json@1 manifest.json version "${{github.ref_name}}" + + - run: npm run build + - run: npx web-ext@7 sign --use-submission-api --channel listed --ignore-files .* node_modules web-ext-artifacts src "assets/!(icon*)" @types *config* package* env: WEB_EXT_API_KEY: ${{ secrets.AMO_API_KEY }}