Skip to content

Commit

Permalink
feat: sentry support (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Jun 17, 2022
1 parent 7726c1b commit 29b9f24
Show file tree
Hide file tree
Showing 8 changed files with 362 additions and 49 deletions.
48 changes: 19 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,34 @@ on:
- created

jobs:
publish_on_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish
publish:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

publish_on_mac:
runs-on: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 14
- name: install dependencies
- name: Install dependencies
run: npm install
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish

publish_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
- name: Configure secrets
uses: jossef/action-set-json-field@v1
with:
node-version: 14
- name: install dependencies
run: npm install
file: src/.sentry.json
field: KEY
value: ${{ secrets.SENTRY_KEY }}
- name: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish
- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
sourcemaps: ./dist/src
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Downloading the corresponding version
# Bee Desktop

## Downloading the corresponding version

Go to the [releases page](https://github.com/ethersphere/bee-desktop/releases/tag/v0.4.0)

Expand All @@ -10,15 +12,19 @@ Linux: `bee-desktop-0.4.0-1.x86_64.rpm` or `bee-desktop_0.4.0_amd64.deb`

> You can alternatively clone this repository and run `npm install` and then `npm start`
# Logs
**Until 1.0 release, all our developer releases has enabled error tracking and reporting using [sentry.io](https://sentry.io/)!**

After the 1.0 release this will be changed to opt-in instead.

## Logs

If you run the build version you can access logs of Bee Desktop at:

- macOS: `~/Library/Logs/bee-desktop-nodejs/bee-desktop.log`
- Windows: `%LOCALAPPDATA%\bee-desktop-nodejs\Log\bee-desktop.log` (for example, `C:\Users\USERNAME\AppData\Local\MyApp-nodejs\Log\bee-desktop.log`)
- Linux: `~/.local/state/bee-desktop-nodejs/bee-desktop.log`

# If you have a previous installation
## If you have a previous installation

You need to delete the previous assets first to receive updates

Expand All @@ -31,7 +37,7 @@ Mac OS: `~/Library/Application Support/bee-desktop-nodejs`

Linux: `~/.local/share/bee-desktop-nodejs` (or `$XDG_DATA_HOME/bee-desktop-nodejs`)

# Allow running on Mac OS
## Allow running on Mac OS

Mac OS may not allow you to run the `.app` after unzipping. To solve this, right click the `.app` and click Open. You
will have an option to ignore the warning.
Loading

0 comments on commit 29b9f24

Please sign in to comment.