We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 96a88a6 + a56eb45 commit e163379Copy full SHA for e163379
1 file changed
lib/index.js
@@ -4,7 +4,7 @@ function GitRevisionPlugin () {}
4
5
GitRevisionPlugin.prototype.apply = function (compiler) {
6
buildFile(compiler, 'git rev-parse HEAD', 'COMMITHASH')
7
- buildFile(compiler, 'git describe', 'VERSION')
+ buildFile(compiler, 'git describe --always', 'VERSION')
8
}
9
10
module.exports = GitRevisionPlugin
0 commit comments