Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #61 from pureooze/firefox-build-fix
Browse files Browse the repository at this point in the history
Switch build to yarn
pureooze authored Jul 21, 2018
2 parents ca00217 + 4305ea3 commit ce6f4b7
Showing 2 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -8,14 +8,14 @@ node_js:

# auto-release from tagged commits
before_deploy:
- npm run build:chrome
- npm run zip saka-chrome-dev.zip dist/*
- npm run build:chrome:prod
- npm run zip saka-chrome-prod.zip dist/*
- npm run build:firefox
- npm run zip saka-firefox-dev.zip dist/*
- npm run build:firefox:prod
- npm run zip saka-firefox-prod.zip dist/*
- yarn run build:chrome
- yarn run zip saka-chrome-dev.zip dist/*
- yarn run build:chrome:prod
- yarn run zip saka-chrome-prod.zip dist/*
- yarn run build:firefox
- yarn run zip saka-firefox-dev.zip dist/*
- yarn run build:firefox:prod
- yarn run zip saka-firefox-prod.zip dist/*
deploy:
provider: releases
api_key:
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -22,10 +22,10 @@ Install Saka from the [Firefox Marketplace](https://addons.mozilla.org/firefox/a
```sh
git clone https://github.com/lusakasa/saka.git
cd saka
npm install
npm run build:chrome
yarn install
yarn run build:chrome
# or if you want to generate an optimized production build
npm run build:prod:chrome
yarn run build:chrome:prod
```

2. Navigate to `chrome://extensions`
@@ -44,10 +44,10 @@ Install Saka from the [Firefox Marketplace](https://addons.mozilla.org/firefox/a
```sh
git clone https://github.com/lusakasa/saka.git
cd saka
npm install
npm run build:firefox
yarn install
yarn run build:firefox
# or if you want to generate an optimized production build
npm run build:prod:firefox
yarn run build:firefox:prod
```

2. Navigate to `about:debugging`
@@ -60,15 +60,15 @@ Install Saka from the [Firefox Marketplace](https://addons.mozilla.org/firefox/a

## Release Instructions (for maintainers)

1. Update the version number in `/static/manifest.json`
1. Update the version number in `/static/manifest.json`

2. Make a commit and set the message to the version: `git commit -m "v0.15.2"`
2. Make a commit and set the message to the version: `git commit -m "v0.15.2"`

3. Tag the commit with the version and a message describing changes since the last release: `git tag -a v0.15.2`
3. Tag the commit with the version and a message describing changes since the last release: `git tag -a v0.15.2`

4. Push the commit to github with tags: `git push origin --follow-tags`
4. Push the commit to github with tags: `git push origin --follow-tags`

5. View the build status at https://travis-ci.org/lusakasa/saka/ and generated releases at https://github.com/lusakasa/saka/releases
5. View the build status at https://travis-ci.org/lusakasa/saka/ and generated releases at https://github.com/lusakasa/saka/releases

## License

0 comments on commit ce6f4b7

Please sign in to comment.