Skip to content

Commit

Permalink
Make sure index.html version updates after npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
lubien committed Apr 23, 2016
1 parent b43de38 commit 1ac5d3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</head>
<body>
<div id="app"></div>
<script src="./bundle.js?v=1.0.1" id="main-script"></script>
<script src="./bundle.js?v=1.0.2" id="main-script"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "cross-env NODE_ENV=production webpack -p --config webpack.prod.config.js",
"deploy": "npm run build && npm run bundle-version && gh-pages -d dist",
"preversion": "npm test",
"version": "git add -A",
"version": "npm run bundle-version && git add -A",
"postversion": "npm run deploy",
"get-xp": "babel-node scripts/get-exp.js",
"get-cards": "babel-node scripts/get-cards.js",
Expand Down

0 comments on commit 1ac5d3f

Please sign in to comment.