diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dc9ff0a..695deeb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,8 @@ on: push: tags: - v** + branches: + - master jobs: release: @@ -30,9 +32,6 @@ jobs: - name: Build/release Electron app uses: samuelmeuli/action-electron-builder@v1 - env: - APPLEID: ${{ secrets.APPLEID }} - APPLEIDPASS: ${{ secrets.APPLEIDPASS }} with: # GitHub token, automatically provided to the action # (No need to define this secret in the repo settings) @@ -40,6 +39,4 @@ jobs: # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building - release: ${{ startsWith(github.ref, 'refs/tags/v') }} - mac_certs: ${{ secrets.MAC_CERTS }} - mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }} + release: ${{ startsWith(github.ref, 'refs/tags/v') || contains(github.event.head_commit.message, '/release') }} diff --git a/README.md b/README.md index 18764c6..abc9736 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Use Ctrl+Shift+D (or Command+Shift+D on macOS) to toggle t ### Using Homebrew ``` -brew cask install devdocs +brew install --cask devdocs ``` ### Manual download diff --git a/package.json b/package.json index ad99170..2cc9f7d 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,8 @@ "error", 5 ], - "import/order": "off" + "import/order": "off", + "comma-dangle": "off" } }, "build": { @@ -66,7 +67,6 @@ "dmg": { "sign": false }, - "afterSign": "scripts/notarize.js", "mac": { "category": "public.app-category.developer-tools", "hardenedRuntime": true,