Skip to content

Commit

Permalink
feat(releases): use release channels
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Nov 18, 2019
1 parent e7de204 commit 79cb0fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,8 @@ after_failure:


before_deploy:
- |
if [[ $TRAVIS_TAG == *"RC"* || $TRAVIS_TAG == *"rc"* ]]; then
export IS_RC=yes
fi
- if [[ "$TRAVIS_OS_NAME" != "windows" && "$IS_RC" == "yes" ]]; then TEST_PACKAGES=true NODE_ENV=prod yarn package; fi
- ls release


deploy:
provider: releases
skip_cleanup: true
Expand All @@ -129,4 +123,4 @@ deploy:
tag_name: $TRAVIS_TAG
on:
tags: true
branch: dev
branch: master
1 change: 1 addition & 0 deletions builderConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const LOGS = 'log.toml';

const buildConfig = {
appId: 'com.electron.safe-browser',
generateUpdatesFilesForAllChannels: true,
artifactName: `safe-browser-v\${version}-\${os}-x64.\${ext}`,
afterPack: './afterPack.js',
afterSign: './afterSign.js',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "safe-browser",
"identifier": "net.maidsafe.safe-browser",
"productName": "SAFE Browser",
"version": "0.15.3",
"version": "0.15.4-alpha",
"vendor": "MaidSafe.net Ltd",
"description": "Electron web browser. React/redux powered with an aim of extensiblity.",
"scripts": {
Expand All @@ -13,7 +13,7 @@
"build-bg": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.background.prod.babel.js --colors",
"build-webPreload": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.web-preload.prod.babel.js --colors",
"build-renderer": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors",
"bump": "standard-version -a",
"bump": "git fetch upstream --tags -f || git fetch --tags -f; standard-version -a",
"check-types": "tsc",
"prod-dev": "cross-env START_HOT=1 node -r babel-register-ts ./internals/scripts/CheckPortInUse.ts && cross-env NODE_ENV=production START_HOT=1 yarn start-renderer-dev",
"dev": "yarn mock-dev",
Expand Down

0 comments on commit 79cb0fc

Please # to comment.