This repository was archived by the owner on Aug 24, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +71
-3
lines changed Expand file tree Collapse file tree 5 files changed +71
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ script:
26
26
- npm run test-dapp
27
27
- npm run test
28
28
before_deploy :
29
- - chmod +x prepare_deploy .sh
30
- - ./prepare_deploy .sh
29
+ - chmod +x prepare_deploy_linux .sh
30
+ - ./prepare_deploy_linux .sh
31
31
deploy :
32
32
- provider : s3
33
33
bucket : wallet-development
Original file line number Diff line number Diff line change
1
+ platform :
2
+ - x64
3
+
4
+ # branches to build
5
+ branches :
6
+ # whitelist
7
+ only :
8
+ - master
9
+ - develop
10
+
11
+ skip_tags : true
12
+
13
+ # Maximum number of concurrent jobs for the project
14
+ max_jobs : 1
15
+
16
+ # set clone depth
17
+ clone_depth : 5 # clone entire repository history if not defined
18
+
19
+ # to run your custom scripts instead of automatic tests
20
+ # test_script:
21
+ # - npm run test-dapp
22
+ # - npm run test
23
+
24
+ # scripts that run after cloning repository
25
+ install :
26
+ - ps : Install-Product node 8 x64
27
+ - ps : $env:DEBUG = "electron-builder"
28
+ - npm i -g --production windows-build-tools
29
+ - cd dapp && rm -rf node_modules && rm package-lock.json && yarn add secp256k1 && yarn install && cd ..
30
+
31
+ # to run your custom scripts instead of automatic MSBuild
32
+ build_script :
33
+ - cd dapp/ && mkdir dist && yarn run build-win
34
+
35
+ # scripts to run before deployment
36
+ after_build :
37
+ - chmod +x prepare_deploy_win.sh
38
+ - prepare_deploy_win.sh
39
+ - cp dapp/dist/*.exe .
40
+
41
+ artifacts :
42
+ path : ' *.exe'
43
+ name : exe
44
+
45
+ environment :
46
+ access_key_id :
47
+ secure : RpimOJdJROGTnBToRjUoRBn7Tlnwc1eNHaAHpFcy1yk=
48
+ secret_access_key :
49
+ secure : LSAZENPbfm21aJt8qzYmuVmmlXnLGIwOKheK+hIlMd9jr2JsJyBjUhEbre6F6ZNq
50
+
51
+ deploy :
52
+ provider : S3
53
+ access_key_id : " %access_key_id%"
54
+ secret_access_key : " %secret_access_key%"
55
+ bucket : wallet-desktop-builds
56
+ region : us-east-1
57
+ artifact : " exe"
Original file line number Diff line number Diff line change 95
95
"electron" : " 1.8.4" ,
96
96
"electron-builder" : " 20.15.1" ,
97
97
"electron-packager" : " 8.7.2" ,
98
- "electron-rebuild" : " 1.7.3" ,
99
98
"growl" : " ^1.10.5" ,
100
99
"grunt" : " 1.0.0" ,
101
100
"grunt-contrib-jshint" : " 1.1.0" ,
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ echo " === PREPARE DEPLOY ==="
4
+
5
+ if [[ ${APPVEYOR_REPO_TAG} == true ]]; then
6
+ # it is a TAG
7
+ # rename .exe file
8
+ echo " Renaming multisigweb.*.exe to multisigweb-$APPVEYOR_REPO_TAG .exe"
9
+ mv dapp/dist/multisigweb* .exe dapp/dist/multisigweb-$APPVEYOR_REPO_TAG .exe
10
+ fi
11
+
12
+ echo " === PREPARE DEPLOY DONE ==="
You can’t perform that action at this time.
0 commit comments