From ce946e25ff5d0a5b3d0fd4d1930ff7d177cc26ab Mon Sep 17 00:00:00 2001 From: Diego Fernandes Date: Fri, 28 May 2021 10:18:03 -0300 Subject: [PATCH] fix: Rename release script name --- .github/workflows/release.yml | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88b8106..a49b161 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,8 @@ jobs: - uses: bahmutov/npm-install@v1 - name: Publish release env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} - run: yarn publish + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: yarn release publish_on_mac: runs-on: macos-latest @@ -29,8 +29,8 @@ jobs: - uses: bahmutov/npm-install@v1 - name: Publish release env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} - run: yarn publish + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: yarn release publish_on_win: runs-on: windows-latest @@ -42,5 +42,5 @@ jobs: - uses: bahmutov/npm-install@v1 - name: Publish release env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} - run: yarn publish \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: yarn release \ No newline at end of file diff --git a/package.json b/package.json index a7a04e8..a4a098c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "start": "electron-forge start", "package": "electron-forge package", "make": "electron-forge make", - "publish": "electron-forge publish" + "release": "electron-forge publish" }, "keywords": [ "webcam",