From 1448c4981c9b1e9e7bb0ef948bd94fee4f58201e Mon Sep 17 00:00:00 2001 From: Devin Abbott Date: Sat, 21 Aug 2021 18:38:02 -0700 Subject: [PATCH] Rename yarn release command --- .github/workflows/release-desktop.yml | 4 ++-- package.json | 2 +- packages/noya-desktop/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml index 41b228eda..88a7e2751 100644 --- a/.github/workflows/release-desktop.yml +++ b/.github/workflows/release-desktop.yml @@ -6,7 +6,7 @@ on: - 'v*' jobs: - publish: + release: runs-on: ${{ matrix.os }} strategy: @@ -19,6 +19,6 @@ jobs: with: node-version: 14.17 - run: yarn - - run: yarn publish:desktop + - run: yarn release:desktop env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 6a5629b7f..007688bce 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "start": "PORT=1234 modular start app", "build": "modular build app", "build:desktop": "cd ./packages/noya-desktop && yarn make", - "publish:desktop": "cd ./packages/noya-desktop && yarn publish", + "release:desktop": "cd ./packages/noya-desktop && yarn release", "test": "modular test", "test:clean": "JEST_IMAGE_SNAPSHOT_TRACK_OBSOLETE=1 yarn test --reporters=default --reporters=jest-image-snapshot/src/outdated-snapshot-reporter.js", "lint": "eslint . --ext .js,.ts,.tsx", diff --git a/packages/noya-desktop/package.json b/packages/noya-desktop/package.json index 1c81e2fe1..a1dba2fb0 100644 --- a/packages/noya-desktop/package.json +++ b/packages/noya-desktop/package.json @@ -8,7 +8,7 @@ "start": "electron-forge start", "package": "electron-forge package", "make": "electron-forge make", - "publish": "electron-forge publish", + "release": "electron-forge publish", "clean": "rm -rf .webpack out" }, "keywords": [],