diff options
-rw-r--r-- | .github/workflows/publish-chrome.yml | 4 | ||||
-rw-r--r-- | .github/workflows/publish-firefox.yml | 3 | ||||
-rw-r--r-- | .github/workflows/release.yml | 25 | ||||
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | dev/data/manifest-variants.json | 2 |
5 files changed, 33 insertions, 12 deletions
diff --git a/.github/workflows/publish-chrome.yml b/.github/workflows/publish-chrome.yml index e595e00f..04d3bc15 100644 --- a/.github/workflows/publish-chrome.yml +++ b/.github/workflows/publish-chrome.yml @@ -1,7 +1,5 @@ name: publish-chrome on: - release: - types: [released] workflow_dispatch: inputs: attemptNumber: @@ -56,7 +54,7 @@ jobs: - name: Upload to Google Web Store id: webStoreUpload continue-on-error: true - uses: djahandarie/webext-buildtools-chrome-webstore-upload-action@d3ce3b6f6a07d1267b0f5a24416a153159255372 + uses: cardinalby/webext-buildtools-chrome-webstore-upload-action@8db7a005529498d95d3e2e0166f6f4050d2b96a5 # pin@v1.0.10 with: zipFilePath: yomitan-chrome.zip extensionId: ${{ secrets.G_STABLE_EXTENSION_ID }} diff --git a/.github/workflows/publish-firefox.yml b/.github/workflows/publish-firefox.yml index 272593c1..424ae8c1 100644 --- a/.github/workflows/publish-firefox.yml +++ b/.github/workflows/publish-firefox.yml @@ -1,7 +1,6 @@ name: publish-firefox on: - release: - types: [released] + workflow_dispatch: permissions: contents: read jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..b700e2c4 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: release +on: + release: + types: [released] +permissions: {} +jobs: + build: + runs-on: ubuntu-latest + permissions: + actions: write + contents: write + steps: + - name: Dispatch publish-chrome + uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 + with: + workflow: publish-chrome + token: ${{ secrets.GITHUB_TOKEN }} + wait-for-completion: false + + - name: Dispatch publish-firefox + uses: aurelien-baudet/workflow-dispatch@93e95b157d791ae7f42aef8f8a0d3d723eba1c31 # pin@v2 + with: + workflow: publish-firefox + token: ${{ secrets.GITHUB_TOKEN }} + wait-for-completion: false @@ -1,9 +1,8 @@ # Yomitan <!-- omit from toc --> -[![Chrome Release (Testing)](<https://img.shields.io/chrome-web-store/v/glnaenfapkkecknnmginabpmgkenenml?label=chrome%20release%20(testing)>)](https://chrome.google.com/webstore/detail/yomitan-development-build/glnaenfapkkecknnmginabpmgkenenml) -[![Firefox Release (Testing)](<https://img.shields.io/github/v/release/themoeway/yomitan?filter=*&label=firefox%20release%20(testing)>)](https://github.com/themoeway/yomitan/releases) -[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/themoeway/yomitan/badge)](https://securityscorecards.dev/viewer/?uri=github.com/themoeway/yomitan) -[![Discord Server](https://dcbadge.vercel.app/api/server/UGNPMDE7zC?style=flat)](https://discord.gg/UGNPMDE7zC) +[![Chrome Release (Stable)](<https://img.shields.io/chrome-web-store/v/likgccmbimhjbgkjambclfkhldnlhbnn?logo=Google%20Chrome&logoColor=lightblue&color=lightblue&label=chrome%20release%20(stable)>)](https://chrome.google.com/webstore/detail/yomitan/likgccmbimhjbgkjambclfkhldnlhbnn) [![Firefox Release (Stable)](<https://img.shields.io/amo/v/yomitan?logo=Firefox&color=orange&label=firefox%20release%20(stable)>)](https://addons.mozilla.org/en-US/firefox/addon/yomitan/) +[![Chrome Release (Testing)](<https://img.shields.io/chrome-web-store/v/glnaenfapkkecknnmginabpmgkenenml?logo=Google%20Chrome&logoColor=lightblue&color=lightblue&label=chrome%20release%20(testing)>)](https://chrome.google.com/webstore/detail/yomitan-development-build/glnaenfapkkecknnmginabpmgkenenml) [![Firefox Release (Testing)](<https://img.shields.io/github/v/release/themoeway/yomitan?logo=Firefox&color=orange&filter=*&label=firefox%20release%20(testing)>)](https://github.com/themoeway/yomitan/releases) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/themoeway/yomitan/badge)](https://securityscorecards.dev/viewer/?uri=github.com/themoeway/yomitan) [![Discord Server](https://dcbadge.vercel.app/api/server/UGNPMDE7zC?style=flat)](https://discord.gg/UGNPMDE7zC) ## Project Introduction @@ -78,11 +77,11 @@ submitting issues on GitHub, try the _testing_ version; otherwise, the _stable_ - **Google Chrome** - - stable (not released yet) + - [stable](https://chrome.google.com/webstore/detail/yomitan/likgccmbimhjbgkjambclfkhldnlhbnn) - [testing](https://chrome.google.com/webstore/detail/yomitan-development-build/glnaenfapkkecknnmginabpmgkenenml) - **Mozilla Firefox** - - stable (not released yet) + - [stable](https://addons.mozilla.org/en-US/firefox/addon/yomitan/) - [testing](https://github.com/themoeway/yomitan/releases) ※ ※ NOTE: Unlike Chrome, Firefox does not allow extensions meant for testing to be hosted in the marketplace. diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json index e6113b75..ce82d0e3 100644 --- a/dev/data/manifest-variants.json +++ b/dev/data/manifest-variants.json @@ -237,7 +237,7 @@ ], "value": { "gecko": { - "id": "{cb7c0bec-7085-4f84-8422-7b55a7c4467c}", + "id": "{6b733b82-9261-47ee-a595-2dda294a4d08}", "strict_min_version": "115.0" }, "gecko_android": { |