Doing the short hash correctly
This commit is contained in:
parent
e0716ef683
commit
4600d1748a
@ -45,7 +45,7 @@ module.exports = {
|
||||
BUILD_ID: [
|
||||
process.env.CIRCLE_BRANCH || 'prerelease',
|
||||
process.env.CIRCLE_BUILD_NUM || '##',
|
||||
(process.env.CIRCLE_SHA1 || 'gitsha').slice(-7)
|
||||
(process.env.CIRCLE_SHA1 || 'gitsha').slice(0, 7)
|
||||
].join('-')
|
||||
}),
|
||||
new webpack.optimize.CommonsChunkPlugin({
|
||||
|
Loading…
Reference in New Issue
Block a user