This commit is contained in:
Core 2022-05-02 08:00:19 +01:00
parent 3518542eee
commit 010a2fdbc9
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -18,6 +18,9 @@ jobs:
- run:
name: Set App Version
command: echo "export APP_VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)" >> $BASH_ENV
- run:
name: Rename Repository
command: sed -i 's/github:ciderapp\/Cider/github:ciderapp\/cider-releases/' package.json
- run:
name: Update Package Managers
command: sudo npm update -g npm yarn
@ -61,7 +64,7 @@ jobs:
command: yarn circle:script
- run:
name: Generate Builds (Linux)
command: yarn electron-builder -l -p never
command: yarn electron-builder -l -p onTagOrDraft
post-steps:
- jira/notify
- persist_to_workspace:
@ -90,7 +93,7 @@ jobs:
command: yarn circle:script
- run:
name: Generate Builds (Windows)
command: yarn electron-builder -w --x64 -p never
command: yarn electron-builder -w --x64 -p onTagOrDraft
post-steps:
- jira/notify
- persist_to_workspace:
@ -118,7 +121,7 @@ jobs:
command: yarn circle:script
- run:
name: Generate Builds (Winget)
command: yarn electron-builder --win -c winget.json -p never
command: yarn electron-builder --win -c winget.json -p onTagOrDraft
post-steps:
- jira/notify
- persist_to_workspace:
@ -162,27 +165,27 @@ workflows:
build_and_release:
jobs:
- prepare-build:
filters:
branches:
only: main
# filters:
# branches:
# only: main
- build-windows:
requires:
- prepare-build
filters:
branches:
only: main
# filters:
# branches:
# only: main
- build-linux:
requires:
- prepare-build
filters:
branches:
only: main
# filters:
# branches:
# only: main
- build-winget:
requires:
- prepare-build
filters:
branches:
only: main
# filters:
# branches:
# only: main
- release:
requires:
- build-windows