From 91453401e7a200e06f29517eb4ec3ad4b8e41c41 Mon Sep 17 00:00:00 2001 From: Vinfall <91039000+Vinfall@users.noreply.github.com> Date: Sun, 7 Apr 2024 11:49:25 +0800 Subject: [PATCH] ci: fix release workflow --- .github/workflows/release.yml | 25 +++++++++++++++---------- manifest.json | 2 +- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a2b014..8b83ca7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,18 +22,23 @@ jobs: - run: npm run build - run: npm run lint-build - - uses: ffurrer2/extract-release-notes@v1 + - uses: ffurrer2/extract-release-notes@v2 id: extract_notes - - uses: softprops/action-gh-release@v1 + - name: upload artifact to release + uses: ncipollo/release-action@v1 with: - files: web-ext-artifacts/*.zip + allowUpdates: True + tag: ${{ github.ref_name }} body: ${{ steps.extract_notes.outputs.release_notes }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + omitNameDuringUpdate: True + artifacts: "web-ext-artifacts/*.zip" + token: ${{ secrets.GITHUB_TOKEN }} - - run: npm run deploy - env: - WEB_EXT_CHANNEL: listed - WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }} - WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }} + # TODO: get AMO credentials to enable this + # https://extensionworkshop.com/documentation/develop/getting-started-with-web-ext/ + # - run: npm run deploy + # env: + # WEB_EXT_CHANNEL: listed + # WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }} + # WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }} diff --git a/manifest.json b/manifest.json index 8d2e85f..593a1a4 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "__MSG_extensionName__", "description": "__MSG_extensionDescription__", "default_locale": "en", - "version": "3.5.0", + "version": "3.5.1", "manifest_version": 2, "icons": { "48": "icons/icon.svg",