diff --git a/build/gulpfile.vscode.linux.js b/build/gulpfile.vscode.linux.js index 942add7519f..3b4a4553059 100644 --- a/build/gulpfile.vscode.linux.js +++ b/build/gulpfile.vscode.linux.js @@ -200,7 +200,7 @@ function prepareSnapPackage(arch) { const snapcraft = gulp.src('resources/linux/snap/snapcraft.yaml', { base: '.' }) .pipe(replace('@@NAME@@', product.applicationName)) - .pipe(replace('@@VERSION@@', commit.substr(32))) + .pipe(replace('@@VERSION@@', commit.substr(8))) .pipe(rename('snap/snapcraft.yaml')); const snapUpdate = gulp.src('resources/linux/snap/snapUpdate.sh', { base: '.' })