mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
add separate beta publish scripts
This commit is contained in:
parent
bf6047da17
commit
1686e7ad0b
7 changed files with 21 additions and 23 deletions
12
.github/workflows/publish-beta.yml
vendored
12
.github/workflows/publish-beta.yml
vendored
|
|
@ -151,8 +151,7 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:win
|
pnpm run publish:win:beta
|
||||||
pnpm run publish:win
|
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
||||||
- name: Build and Publish releases (macOS)
|
- name: Build and Publish releases (macOS)
|
||||||
|
|
@ -166,8 +165,7 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:mac
|
pnpm run publish:mac:beta
|
||||||
pnpm run publish:mac
|
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
||||||
- name: Build and Publish releases (Linux)
|
- name: Build and Publish releases (Linux)
|
||||||
|
|
@ -181,8 +179,7 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:linux
|
pnpm run publish:linux:beta
|
||||||
pnpm run publish:linux
|
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
||||||
- name: Build and Publish releases (Linux ARM64)
|
- name: Build and Publish releases (Linux ARM64)
|
||||||
|
|
@ -196,8 +193,7 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:linux-arm64
|
pnpm run publish:linux-arm64:beta
|
||||||
pnpm run publish:linux-arm64
|
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
||||||
edit-release:
|
edit-release:
|
||||||
|
|
|
||||||
2
.github/workflows/publish-linux.yml
vendored
2
.github/workflows/publish-linux.yml
vendored
|
|
@ -31,7 +31,6 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:linux
|
|
||||||
pnpm run publish:linux
|
pnpm run publish:linux
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
||||||
|
|
@ -44,6 +43,5 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:linux-arm64
|
|
||||||
pnpm run publish:linux-arm64
|
pnpm run publish:linux-arm64
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
|
||||||
1
.github/workflows/publish-macos.yml
vendored
1
.github/workflows/publish-macos.yml
vendored
|
|
@ -31,6 +31,5 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:mac
|
|
||||||
pnpm run publish:mac
|
pnpm run publish:mac
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
|
||||||
1
.github/workflows/publish-windows.yml
vendored
1
.github/workflows/publish-windows.yml
vendored
|
|
@ -31,6 +31,5 @@ jobs:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
retry_on: error
|
retry_on: error
|
||||||
command: |
|
command: |
|
||||||
pnpm run package:win
|
|
||||||
pnpm run publish:win
|
pnpm run publish:win
|
||||||
on_retry_command: pnpm cache delete
|
on_retry_command: pnpm cache delete
|
||||||
|
|
|
||||||
12
README.md
12
README.md
|
|
@ -157,14 +157,18 @@ This project is built off of [electron-vite](https://github.com/alex8088/electro
|
||||||
- `pnpm run build:remote` - Build the remote app (remote)
|
- `pnpm run build:remote` - Build the remote app (remote)
|
||||||
- `pnpm run build:web` - Build the standalone web app (renderer)
|
- `pnpm run build:web` - Build the standalone web app (renderer)
|
||||||
- `pnpm run package` - Package the project
|
- `pnpm run package` - Package the project
|
||||||
- `pnpm run package:dev` - Package the project for development
|
- `pnpm run package:dev` - Package the project for development locally
|
||||||
- `pnpm run package:linux` - Package the project for Linux
|
- `pnpm run package:linux` - Package the project for Linux locally
|
||||||
- `pnpm run package:mac` - Package the project for Mac
|
- `pnpm run package:mac` - Package the project for Mac locally
|
||||||
- `pnpm run package:win` - Package the project for Windows
|
- `pnpm run package:win` - Package the project for Windows locally
|
||||||
- `pnpm run publish:linux` - Publish the project for Linux
|
- `pnpm run publish:linux` - Publish the project for Linux
|
||||||
|
- `pnpm run publish:linux:beta` - Publish the project for Linux (beta channel)
|
||||||
- `pnpm run publish:linux-arm64` - Publish the project for Linux ARM64
|
- `pnpm run publish:linux-arm64` - Publish the project for Linux ARM64
|
||||||
|
- `pnpm run publish:linux-arm64:beta` - Publish the project for Linux ARM64 (beta channel)
|
||||||
- `pnpm run publish:mac` - Publish the project for Mac
|
- `pnpm run publish:mac` - Publish the project for Mac
|
||||||
|
- `pnpm run publish:mac:beta` - Publish the project for Mac (beta channel)
|
||||||
- `pnpm run publish:win` - Publish the project for Windows
|
- `pnpm run publish:win` - Publish the project for Windows
|
||||||
|
- `pnpm run publish:win:beta` - Publish the project for Windows (beta channel)
|
||||||
- `pnpm run typecheck` - Type check the project
|
- `pnpm run typecheck` - Type check the project
|
||||||
- `pnpm run typecheck:node` - Type check the project with tsconfig.node.json
|
- `pnpm run typecheck:node` - Type check the project with tsconfig.node.json
|
||||||
- `pnpm run typecheck:web` - Type check the project with tsconfig.web.json
|
- `pnpm run typecheck:web` - Type check the project with tsconfig.web.json
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ win:
|
||||||
- zip
|
- zip
|
||||||
- nsis
|
- nsis
|
||||||
icon: assets/icons/icon.png
|
icon: assets/icons/icon.png
|
||||||
generateUpdatesFilesForAllChannels: true
|
|
||||||
|
|
||||||
nsis:
|
nsis:
|
||||||
allowToChangeInstallationDirectory: true
|
allowToChangeInstallationDirectory: true
|
||||||
|
|
@ -38,7 +37,6 @@ mac:
|
||||||
entitlementsInherit: assets/entitlements.mac.plist
|
entitlementsInherit: assets/entitlements.mac.plist
|
||||||
gatekeeperAssess: false
|
gatekeeperAssess: false
|
||||||
notarize: false
|
notarize: false
|
||||||
generateUpdatesFilesForAllChannels: true
|
|
||||||
|
|
||||||
dmg:
|
dmg:
|
||||||
contents: [{ x: 130, y: 220 }, { x: 410, y: 220, type: link, path: /Applications }]
|
contents: [{ x: 130, y: 220 }, { x: 410, y: 220, type: link, path: /Applications }]
|
||||||
|
|
@ -50,10 +48,10 @@ linux:
|
||||||
category: AudioVideo;Audio;Player
|
category: AudioVideo;Audio;Player
|
||||||
icon: assets/icons/icon.png
|
icon: assets/icons/icon.png
|
||||||
artifactName: ${productName}-${os}-${arch}.${ext}
|
artifactName: ${productName}-${os}-${arch}.${ext}
|
||||||
generateUpdatesFilesForAllChannels: true
|
|
||||||
|
|
||||||
npmRebuild: false
|
npmRebuild: false
|
||||||
publish:
|
publish:
|
||||||
provider: github
|
provider: github
|
||||||
owner: jeffvli
|
owner: jeffvli
|
||||||
repo: feishin
|
repo: feishin
|
||||||
|
channel: latest
|
||||||
|
|
|
||||||
12
package.json
12
package.json
|
|
@ -44,10 +44,14 @@
|
||||||
"package:mac:pr": "pnpm run build && electron-builder --mac --publish never",
|
"package:mac:pr": "pnpm run build && electron-builder --mac --publish never",
|
||||||
"package:win": "pnpm run build && electron-builder --win",
|
"package:win": "pnpm run build && electron-builder --win",
|
||||||
"package:win:pr": "pnpm run build && electron-builder --win --publish never",
|
"package:win:pr": "pnpm run build && electron-builder --win --publish never",
|
||||||
"publish:linux": "electron-builder --publish always --linux",
|
"publish:linux": "pnpm run build && electron-builder --publish always --linux",
|
||||||
"publish:linux-arm64": "electron-builder --publish always --linux --arm64",
|
"publish:linux-arm64": "pnpm run build && electron-builder --publish always --linux --arm64",
|
||||||
"publish:mac": "electron-builder --publish always --mac",
|
"publish:linux-arm64:beta": "pnpm run build && electron-builder --config electron-builder-beta.yml --publish always --linux --arm64",
|
||||||
"publish:win": "electron-builder --publish always --win",
|
"publish:linux:beta": "pnpm run build && electron-builder --config electron-builder-beta.yml --publish always --linux",
|
||||||
|
"publish:mac": "pnpm run build && electron-builder --publish always --mac",
|
||||||
|
"publish:mac:beta": "pnpm run build && electron-builder --config electron-builder-beta.yml --publish always --mac",
|
||||||
|
"publish:win": "pnpm run build && electron-builder --publish always --win",
|
||||||
|
"publish:win:beta": "pnpm run build && electron-builder --config electron-builder-beta.yml --publish never --win",
|
||||||
"start": "electron-vite preview",
|
"start": "electron-vite preview",
|
||||||
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web",
|
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web",
|
||||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue