From 0eba570ae9998cfd16d142639a39dd15b51282c8 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sat, 26 Aug 2023 15:05:22 -0600 Subject: [PATCH 1/6] Fix uninstall instructions --- web/src/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/index.rst b/web/src/index.rst index 8d7456194..1fcb586dc 100644 --- a/web/src/index.rst +++ b/web/src/index.rst @@ -47,4 +47,4 @@ Uninstall Oxide 1. ``systemctl disable --now tarnish`` 2. ``systemctl enable --now xochitl`` -3. ``opkg remove erode fret oxide rot tarnish decay corrupt anxiety liboxide libsentry`` +3. ``opkg remove -force-removal-of-dependent-packages liboxide`` From 956ee15e34b08b57d328438288e7e67c727dcca6 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 6 Sep 2023 23:24:33 -0600 Subject: [PATCH 2/6] Create sentry releases and upload debug files --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6cda89c0c..c927ad38a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,3 +45,36 @@ jobs: with: name: packages path: release + - name: Save packages + uses: actions/upload-artifact@v3 + with: + name: build + path: package/dist + release: + needs: build + if: ${{ github.ref == 'refs/heads/main' }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/download-artifact@v3 + with: + name: build + - 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 }} + SENTRY_URL: https://sentry.eeems.codes + - name: Setup Sentry CLI + uses: mathieu-bour/setup-sentry-cli@v1 + with: + version: latest + url: https://sentry.eeems.codes + token: ${{ secrets.SENTRY_AUTH_TOKEN }} + organization: ${{ secrets.SENTRY_ORG }} + project: ${{ secrets.SENTRY_PROJECT }} + - name: Upload debug artifacts + run: sentry-cli debug-files upload --include-sources . From 0b0d4971b23dc40bfacde82e6e5b9a09a411d9a2 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 6 Sep 2023 23:32:58 -0600 Subject: [PATCH 3/6] Update to python 3.11 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c927ad38a..3a960f58c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install toltecmk run: pip install toltecmk requests==2.26.0 - name: Build packages From db577e022a0dc54fc155c783a9b0c5859d494749 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 6 Sep 2023 23:45:34 -0600 Subject: [PATCH 4/6] fix path --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a960f58c..b1c2d71b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,7 +49,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: build - path: package/dist + path: .build/package/dist release: needs: build if: ${{ github.ref == 'refs/heads/main' }} From d9b858f502bb23a291be1e26f533d0eabaa414b0 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Wed, 6 Sep 2023 23:57:57 -0600 Subject: [PATCH 5/6] Fix branch name --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1c2d71b4..e103f1467 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: path: .build/package/dist release: needs: build - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 From 527145498558fa53b40902188e06c88234333f1d Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Thu, 7 Sep 2023 11:16:17 -0600 Subject: [PATCH 6/6] Download artifact to the same path --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e103f1467..96b31d3b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,6 +61,7 @@ jobs: - uses: actions/download-artifact@v3 with: name: build + path: .build - name: Create Sentry release uses: getsentry/action-release@v1 env: