Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sentry support #105

Merged
merged 2 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
AuHau marked this conversation as resolved.
Show resolved Hide resolved

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