Skip to content

Commit

Permalink
add new publish workflow, fix logo in options
Browse files Browse the repository at this point in the history
  • Loading branch information
semanticdata committed Apr 26, 2024
1 parent 7efb0ab commit e73e543
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/web-ext-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release new version

on:
push:
tags:
- "v*.*.*"
# release:
# types: [published]

jobs:
build-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: build
filename: "{name}-{version}.xpi"
ignoreFiles: '[
"package.json",
"package-lock.json",
"yarn.lock",
".github",
".gitattributes",
"LICENSE",
"README.md"]'

- name: Sign
id: web-ext-sign
uses: kewisch/action-web-ext@v1
with:
cmd: sign
channel: listed
source: ${{ steps.web-ext-build.outputs.target }}
apiKey: ${{ secrets.FIREFOX_JWT_ISSUER }}
apiSecret: ${{ secrets.FIREFOX_JWT_SECRET }}
timeout: 900000

- name: Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ${{ steps.web-ext-sign.outputs.target }}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Fastmail in Sidebar",
"description": "Displays Fastmail in the sidebar.",
"version": "1.2.1",
"version": "1.2.2",
"background": {
"scripts": ["src/background.js"]
},
Expand Down
2 changes: 1 addition & 1 deletion src/options/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<section class="section">
<div class="container">
<h1 class="title">
<img src="/icons/48x48.png" alt="" />
<img src="./../icons/48x48.png" alt="" />

Fastmail<sup class="subtitle"> in the Sidebar </sup>
</h1>
Expand Down

0 comments on commit e73e543

Please sign in to comment.