Skip to content

Commit

Permalink
feature: CI enhancements (#2004)
Browse files Browse the repository at this point in the history
* test commit

* update dist command

* update config.yml

* update config.yml

* Fix publish script

* update pack

* test commit

* Bump version

* refactor config.yml

* refactor config.yml

* Revert unintentional changes

* Revert unintentional changes
  • Loading branch information
comountainclimber committed Oct 30, 2020
1 parent 49ed3a2 commit 481b06f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 18 deletions.
40 changes: 24 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,23 +103,31 @@ jobs:

workflows:
version: 2
build_test:
build_test_and_deploy:
jobs:
- build
- build:
filters:
tags:
only: /v.*/
- test:
filters:
tags:
only: /v.*/
requires:
- build
deploy:
jobs:
- deploy_win64
# filters:
# branches:
# ignore: /.*/
# tags:
# only: /[0-9]+(\.[0-9]+)+.*/
- deploy_linux
# filters:
# branches:
# ignore: /.*/
# tags:
# only: /[0-9]+(\.[0-9]+)+.*/
- deploy_win64:
requires:
- test
filters:
branches:
ignore: /.*/
tags:
only: /v.*/
- deploy_linux:
requires:
- test
filters:
branches:
ignore: /.*/
tags:
only: /v.*/
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"main": "./main.js",
"description": "Light wallet for NEO blockchain",
"homepage": "https://github.com/CityOfZion/neon-wallet",
"author": "Ethan Fast <ejhfast@gmail.com> (https://github.com/Ejhfast)",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"start": "cross-env NODE_ENV=production electron .",
Expand Down Expand Up @@ -66,14 +65,16 @@
]
},
"mac": {
"target": [
"dmg"
],
"hardenedRuntime": true,
"entitlements": "./node_modules/electron-builder-notarize/entitlements.mac.inherit.plist",
"artifactName": "${productName}.${version}.${ext}"
},
"linux": {
"target": [
"AppImage",
"snap",
"deb"
],
"artifactName": "${productName}.${version}.${ext}"
Expand Down

0 comments on commit 481b06f

Please sign in to comment.