Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinfall committed Apr 7, 2024
1 parent 5daf94b commit 9145340
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9145340

Please sign in to comment.