Skip to content

Commit

Permalink
feat: added sentry to app
Browse files Browse the repository at this point in the history
  • Loading branch information
boy52hz committed Apr 22, 2024
1 parent d53db1f commit af0fa34
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
jobs:
release:
runs-on: ubuntu-latest
outputs:
new_release_version: ${{ steps.semantic.outputs.new_release_version }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upload-release-apk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: Build app
run: |
eas build --platform android --local --output ./winwin_driver_${{ github.ref_name }}.apk
eas build --platform android --local --output ./winwin_driver_${{ env.APP_VERSION }}.apk
- name: Upload Release Asset
id: upload-release-asset
Expand All @@ -49,6 +49,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./winwin_driver_${{ github.ref_name }}.apk
asset_name: winwin_driver_${{ github.ref_name }}.apk
asset_path: ./winwin_driver_${{ env.APP_VERSION }}.apk
asset_name: winwin_driver_${{ env.APP_VERSION }}.apk
asset_content_type: application/vnd.android.package-archive
2 changes: 2 additions & 0 deletions eas-build-pre-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
set-env APP_VERSION $APP_VERSION
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"main": "expo-router/entry",
"scripts": {
"eas-build-pre-install": ".github/scripts/eas-build-pre-install.sh",
"eas-build-pre-install": "./eas-build-pre-install.sh",
"start": "expo start",
"android": "expo run:android",
"ios": "expo run:ios",
Expand Down

0 comments on commit af0fa34

Please sign in to comment.