Skip to content

Commit 91117f7

Browse files
committed
chore(ci): Change how we do builds for non-master branch
1 parent 0213968 commit 91117f7

File tree

1 file changed

+3
-34
lines changed

1 file changed

+3
-34
lines changed

.circleci/config.yml

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defaults: &defaults
1010

1111
version: 2
1212
jobs:
13-
package:
13+
build_and_test:
1414
<<: *defaults
1515
steps:
1616
- checkout
@@ -28,39 +28,9 @@ jobs:
2828
paths:
2929
- node_modules
3030
key: v1-dependencies-{{ checksum "package.json" }}
31-
- run:
32-
name: Install Wine
33-
command: brew install wine
3431
- run:
3532
name: Build Apps
36-
command: yarn package
37-
- run:
38-
name: Decode Certificates
39-
command: base64 -D -o Certificates.p12 <<< $ReactotronCerts
40-
- run:
41-
name: Install Gems
42-
command: bundle install
43-
- run:
44-
name: Install Cert
45-
command: bundle exec fastlane setup
46-
- run:
47-
name: Sign Mac App
48-
command: codesign -s "$REACTOTRON_CODESIGN_IDENTITY" -vvv --deep --force ./release/darwin-x64/Reactotron-darwin-x64/Reactotron.app
49-
- run:
50-
name: Zip Linux 32bit
51-
command: cd ./release/linux-ia32/Reactotron-linux-ia32 && zip -r Reactotron-linux-ia32.zip ./
52-
- run:
53-
name: Zip Linux 64bit
54-
command: cd ./release/linux-x64/Reactotron-linux-x64 && zip -r Reactotron-linux-x64.zip ./
55-
- run:
56-
name: Zip Windows 32bit
57-
command: cd ./release/win32-ia32/Reactotron-win32-ia32 && zip -r Reactotron-win32-ia32.zip ./
58-
- run:
59-
name: Zip Linux 64bit
60-
command: cd ./release/win32-x64/Reactotron-win32-x64 && zip -r Reactotron-win32-x64.zip ./
61-
- run:
62-
name: Zip Mac
63-
command: cd ./release/darwin-x64/Reactotron-darwin-x64 && zip -r -y Reactotron-darwin-x64.zip ./Reactotron.app
33+
command: yarn build
6434

6535
releaseVersion:
6636
<<: *defaults
@@ -100,8 +70,7 @@ workflows:
10070
version: 2
10171
test_and_release:
10272
jobs:
103-
- package:
104-
context: ReactotronCerts
73+
- build_and_test:
10574
filters:
10675
branches:
10776
ignore: master

0 commit comments

Comments
 (0)