Set commit based on code-server instead of VS Code
This ensures it'll be different for each build, otherwise it would also be the same as long as the VS Code version is the same.
This commit is contained in:
parent
7e794bd134
commit
01a9ab332e
|
@ -57,6 +57,8 @@ function prepend-loader() {
|
||||||
function build-code-server() {
|
function build-code-server() {
|
||||||
copy-server
|
copy-server
|
||||||
local min=""
|
local min=""
|
||||||
|
export BUILD_SOURCEVERSION
|
||||||
|
BUILD_SOURCEVERSION=$(node -p "require('${sourcePath}/build/lib/git.js').getVersion('${rootPath}')")
|
||||||
if [[ -n "${minify}" ]] ; then
|
if [[ -n "${minify}" ]] ; then
|
||||||
min="-min"
|
min="-min"
|
||||||
yarn gulp minify-vscode --max-old-space-size=32384
|
yarn gulp minify-vscode --max-old-space-size=32384
|
||||||
|
|
Loading…
Reference in New Issue