fix linux snap version

This commit is contained in:
Joao Moreno 2018-12-19 15:02:58 +01:00
parent dd306185ec
commit 5fcddccd99

View file

@ -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: '.' })