Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: CI enhancements #2004

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