From 071b345e938cf26a620d9e97f3797bb9f672aaee Mon Sep 17 00:00:00 2001 From: Mo Date: Tue, 18 Jul 2023 07:24:02 -0500 Subject: [PATCH] chore: fix snapcraft ci --- .github/workflows/desktop.release.reuse.yml | 6 +++--- packages/web/package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/desktop.release.reuse.yml b/.github/workflows/desktop.release.reuse.yml index ef9b37b12..f99911f32 100644 --- a/.github/workflows/desktop.release.reuse.yml +++ b/.github/workflows/desktop.release.reuse.yml @@ -154,13 +154,14 @@ jobs: Publish: runs-on: ubuntu-latest + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} if: ${{ always() }} needs: [Windows, Mac, Linux] defaults: run: working-directory: packages/desktop steps: - - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: @@ -209,6 +210,5 @@ jobs: continue-on-error: true run: | sudo snap install snapcraft --classic - echo "${{ secrets.SNAPCRAFT_LOGIN_FILE }}" >> snapauth.txt - snapcraft login --with=snapauth.txt + snapcraft login snapcraft upload dist/standard-notes-${{ env.APP_VERSION }}-linux-amd64.snap --release stable,candidate,beta,edge diff --git a/packages/web/package.json b/packages/web/package.json index 7227f3512..59f79e003 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -3,7 +3,7 @@ "version": "3.166.17", "license": "AGPL-3.0-or-later", "main": "dist/app.js", - "author": "Standard Notes", + "author": "Standard Notes.", "private": true, "files": [ "dist"