test
This commit is contained in:
parent
3518542eee
commit
010a2fdbc9
1 changed files with 18 additions and 15 deletions
|
@ -18,6 +18,9 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Set App Version
|
name: Set App Version
|
||||||
command: echo "export APP_VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)" >> $BASH_ENV
|
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:
|
- run:
|
||||||
name: Update Package Managers
|
name: Update Package Managers
|
||||||
command: sudo npm update -g npm yarn
|
command: sudo npm update -g npm yarn
|
||||||
|
@ -61,7 +64,7 @@ jobs:
|
||||||
command: yarn circle:script
|
command: yarn circle:script
|
||||||
- run:
|
- run:
|
||||||
name: Generate Builds (Linux)
|
name: Generate Builds (Linux)
|
||||||
command: yarn electron-builder -l -p never
|
command: yarn electron-builder -l -p onTagOrDraft
|
||||||
post-steps:
|
post-steps:
|
||||||
- jira/notify
|
- jira/notify
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
@ -90,7 +93,7 @@ jobs:
|
||||||
command: yarn circle:script
|
command: yarn circle:script
|
||||||
- run:
|
- run:
|
||||||
name: Generate Builds (Windows)
|
name: Generate Builds (Windows)
|
||||||
command: yarn electron-builder -w --x64 -p never
|
command: yarn electron-builder -w --x64 -p onTagOrDraft
|
||||||
post-steps:
|
post-steps:
|
||||||
- jira/notify
|
- jira/notify
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
@ -118,7 +121,7 @@ jobs:
|
||||||
command: yarn circle:script
|
command: yarn circle:script
|
||||||
- run:
|
- run:
|
||||||
name: Generate Builds (Winget)
|
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:
|
post-steps:
|
||||||
- jira/notify
|
- jira/notify
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
@ -162,27 +165,27 @@ workflows:
|
||||||
build_and_release:
|
build_and_release:
|
||||||
jobs:
|
jobs:
|
||||||
- prepare-build:
|
- prepare-build:
|
||||||
filters:
|
# filters:
|
||||||
branches:
|
# branches:
|
||||||
only: main
|
# only: main
|
||||||
- build-windows:
|
- build-windows:
|
||||||
requires:
|
requires:
|
||||||
- prepare-build
|
- prepare-build
|
||||||
filters:
|
# filters:
|
||||||
branches:
|
# branches:
|
||||||
only: main
|
# only: main
|
||||||
- build-linux:
|
- build-linux:
|
||||||
requires:
|
requires:
|
||||||
- prepare-build
|
- prepare-build
|
||||||
filters:
|
# filters:
|
||||||
branches:
|
# branches:
|
||||||
only: main
|
# only: main
|
||||||
- build-winget:
|
- build-winget:
|
||||||
requires:
|
requires:
|
||||||
- prepare-build
|
- prepare-build
|
||||||
filters:
|
# filters:
|
||||||
branches:
|
# branches:
|
||||||
only: main
|
# only: main
|
||||||
- release:
|
- release:
|
||||||
requires:
|
requires:
|
||||||
- build-windows
|
- build-windows
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue