shorten snap version

This commit is contained in:
Joao Moreno
2018-12-19 12:59:25 +01:00
parent 53b2f52d14
commit 87f95dd6cc

View File

@@ -198,7 +198,7 @@ function prepareSnapPackage(arch) {
const snapcraft = gulp.src('resources/linux/snap/snapcraft.yaml', { base: '.' })
.pipe(replace('@@NAME@@', product.applicationName))
.pipe(replace('@@VERSION@@', commit))
.pipe(replace('@@VERSION@@', commit.substr(32)))
.pipe(rename('snap/snapcraft.yaml'));
const snapUpdate = gulp.src('resources/linux/snap/snapUpdate.sh', { base: '.' })