Skip to content

Commit

Permalink
Changing chrome build to be zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Davis committed Feb 3, 2023
1 parent eba265b commit 7a6071b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 50 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
- browser: firefox
extension: xpi
- browser: chromium
extension: crx
extension: zip
exclude:
- browser: chromium
build: dev

permissions:
contents: write
Expand Down Expand Up @@ -57,27 +60,18 @@ jobs:
run: |
cp ./targets/${{ matrix.browser }}/${{ matrix.build }}/manifest.json ./public
- name: Pack XPI
if: matrix.browser == 'firefox'
uses: kewisch/action-web-ext@v1
- name: Pack Extension
uses: thedoctor0/zip-release@0.7.1
with:
cmd: build
source: public
type: 'zip'
filename: tabby-${{ matrix.browser }}-${{ matrix.build }}.${{ matrix.extension }}

- name: Install CRX Builder
if: matrix.browser == 'chromium'
run: npm install crx -g

- name: Build CRX
if: matrix.browser == 'chromium'
run: crx pack public -o tabby-${{ matrix.browser }}-${{ matrix.build }}.${{ matrix.extension }}

directory: public

- name: "Create Release"
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
tabby-${{ matrix.browser }}-${{ matrix.build }}.${{ matrix.extension }}
public/tabby-${{ matrix.browser }}-${{ matrix.build }}.${{ matrix.extension }}
targets/${{ matrix.browser }}/${{ matrix.build }}/update-${{ matrix.browser }}-${{ matrix.build }}.json
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ This is just another FireFox new tab extension because I couldn't find one that
There are two release channels you can install this extension from which are described below.

### Develop
This extension can be installed directly in firefox (and will have auto updates) from the release page in this repo by downloading [tabby-firefox-dev.xpi](https://github.com/RobbieLD/tabby/releases/latest/download/tabby-firfox-dev.xpi). However as this is the dev release it's not signed by Mozilla so it can only be installed in the [Developer Release](https://www.mozilla.org/en-US/firefox/developer/) or other experimental releases once you've disabled the signing check by going to `about:config`, change `xpinstall.signatures.required` to `false`.
__FireFox__: This extension can be installed directly in firefox (and will have auto updates) from the release page in this repo by downloading [tabby-firefox-dev.xpi](https://github.com/RobbieLD/tabby/releases/latest/download/tabby-firfox-dev.xpi). However as this is the dev release it's not signed by Mozilla so it can only be installed in the [Developer Release](https://www.mozilla.org/en-US/firefox/developer/) or other experimental releases once you've disabled the signing check by going to `about:config`, change `xpinstall.signatures.required` to `false`.

__Chrome__: Chrome won't let you install unsigned crx files so you'll need to download the [latest release zip file](https://github.com/RobbieLD/tabby/releases/latest/download/tabby-chromium-dev.zip) and load it as an unpacked extension once you've extracted it an enabled developer mode in chrome. Unfortunately that won't have auto updates.

### Stable
Stable releases are available from the FireFox [add on page](https://addons.mozilla.org/en-US/firefox/addon/tabby/)
Stable releases are available from the [FireFox add-on page](https://addons.mozilla.org/en-US/firefox/addon/tabby/) and soon the Chrome web store page.

## Usage
To use the extension you'll need a free unsplash api key which can be obtained from the [Unsplash Dev Portal](https://unsplash.com/developers). You will be prompted for this when you first open the extension.
Expand Down
20 changes: 0 additions & 20 deletions targets/chromium/dev/manifest.json

This file was deleted.

12 changes: 0 additions & 12 deletions targets/chromium/dev/update-chromium-dev.json

This file was deleted.

0 comments on commit 7a6071b

Please sign in to comment.