Skip to content

Commit

Permalink
build: fix git hash
Browse files Browse the repository at this point in the history
  • Loading branch information
u3u committed Nov 26, 2018
1 parent b8d3088 commit 7937081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
config.plugin('define').tap((args) => {
Object.assign(args[0], {
APLAYER_VERSION: JSON.stringify(require('./package.json').version),
GIT_HASH: JSON.stringify(gitRevisionPlugin.version()),
GIT_HASH: JSON.stringify(gitRevisionPlugin.commithash().substr(0, 7)),
});
return args;
});
Expand Down

0 comments on commit 7937081

Please sign in to comment.