Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(Travis): minified javascript hash now matches local build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Apr 1, 2016
1 parent 589e1ee commit 612abca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ before_install:
- npm install -g grunt-cli
- gem install sass
script:
- grunt build
- node_modules/karma/bin/karma start karma.conf.js --single-run
- make build
- make test
- grunt coveralls
- grunt dist:$TRAVIS_TAG::wallet-beta
- make pgp
- export VERSION=$TRAVIS_TAG
- make dist
notifications:
slack:
secure: iz0CoBcz79s70KyZ3Kb4fcQqSRl3mK0mAqoqz5TiXwHRq0tPL/CIy+kNQ15YKykNXg9++7lvhOmxedq6H+0mQSZA4xpTbBPVAgISoPgkW0O7wQv6JFXCh2jhUEcPWx1FFaTNkrrN580XX7IONd+iwjauFb4RTU+388Qa+PkL/Zqq6UEqQluAg1H+njy0+klvi/Iz0eAHBTNPwiqZweZQBRYLkEjsmev/bPY94C2UViQGxCMZ+UEV2LMSLeumqkLMuD9vYrXTGqtg00WW36HcPax2Kju0aLjoycuqqypSZOVRuTdOZ4jvB4YUg+mMn9oC7/NFwvPre+zKHfd6jrjbtX3+4rdCr7AL+npSwAx2wKRkhJthHB+OfQ1paeQ/GRL735+VEpweQJumZ4aGOVbd6NF0kbFR9DpPO+xEUp/9V71FpFvBh5bJd8tcfgDrQLk2FzwsVI935yLdBYcbPb5zWOBwy9lz5uFmaZpeLpNwZRHgKLeC8XrEUsSOq6ef8aZkXBqRXpRD3ZNp9hwK6T7Mpi0gZNc4bRaZBanF1W9E1Hlegm7UNMh3v6ePc+B81eh7KUiydlYurQHuw/eXo+H+91VXkKdjCWowmugXsq8XmBUVNJtglG2A77e7uflsm6bwWKnnds4nwMzEBsAvoiYCm98USv1Fl1vdXRVfoI+zcgo=
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ module.exports = (grunt) ->
replacements: [{
from: 'versionMyWallet = null'
to: () =>
version = exec('cat bower_components/blockchain-wallet/bower.json | grep \'version\": \' | grep -o \'\\d\\+.\\d\\+.\\d\\+\'').output
version = exec('./my_wallet_bower_version.rb').output
'versionMyWallet = "' + version.replace("\n", "") + '"'
}]

Expand Down
5 changes: 5 additions & 0 deletions my_wallet_bower_version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env ruby
require 'json'
require 'open-uri'
bower = JSON.parse(File.read("bower_components/blockchain-wallet/.bower.json"))
puts bower["version"]

0 comments on commit 612abca

Please sign in to comment.