diff --git a/server/build/index.js b/server/build/index.js index 4b7577bd5803b1..43dac8262ec2c0 100644 --- a/server/build/index.js +++ b/server/build/index.js @@ -8,7 +8,7 @@ import md5File from 'md5-file/promise' export default async function build (dir, conf = null) { const config = getConfig(dir, conf) - const buildId = uuid.v4() + const buildId = process.env.BUILD_ID || uuid.v4() try { await fs.access(dir, fs.constants.W_OK)