hmm
This commit is contained in:
parent
2c54d6c166
commit
c009514c9d
1 changed files with 20 additions and 29 deletions
|
@ -18,9 +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:
|
# - run:
|
||||||
name: Rename Repository
|
# name: Rename Repository
|
||||||
command: sed -i 's/github:ciderapp\/Cider/github:ciderapp\/cider-releases/' package.json
|
# 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
|
||||||
|
@ -55,25 +55,16 @@ jobs:
|
||||||
- license.txt
|
- license.txt
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
working_directory: ~/Cider
|
executor: cider-ci
|
||||||
machine: true
|
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ~/Cider
|
at: ~/Cider
|
||||||
- run:
|
|
||||||
name: Setup Snapcraft
|
|
||||||
command: |
|
|
||||||
sudo apt update && sudo apt install -y snapd
|
|
||||||
sudo snap install core
|
|
||||||
sudo snap install snapcraft --edge --classic
|
|
||||||
sudo snap refresh core
|
|
||||||
/snap/bin/snapcraft
|
|
||||||
- run:
|
- run:
|
||||||
name: Fix Versioning and Add Channel
|
name: Fix Versioning and Add Channel
|
||||||
command: yarn circle:script
|
command: yarn circle:script
|
||||||
- run:
|
- run:
|
||||||
name: Generate Builds (Linux)
|
name: Generate Builds (Linux)
|
||||||
command: yarn electron-builder -l -p always
|
command: yarn electron-builder -l -p never
|
||||||
post-steps:
|
post-steps:
|
||||||
- jira/notify
|
- jira/notify
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
@ -102,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 always
|
command: yarn electron-builder -w --x64 -p never
|
||||||
post-steps:
|
post-steps:
|
||||||
- jira/notify
|
- jira/notify
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
@ -130,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 always
|
command: yarn electron-builder --win -c winget.json -p never
|
||||||
post-steps:
|
post-steps:
|
||||||
- jira/notify
|
- jira/notify
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
|
@ -173,28 +164,28 @@ jobs:
|
||||||
workflows:
|
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