From 6fd3189d149e83448b4023630e5017d3b8eca504 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 28 Sep 2020 13:22:07 -0400 Subject: [PATCH] BUILD_NUMBER for safari extension --- gulpfile.js | 3 +++ jslib | 2 +- src/safari/safari/Info.plist | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index e5d628e09f..c90d6361ef 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -43,6 +43,8 @@ function buildString() { var build = ''; if (process.env.APPVEYOR_BUILD_NUMBER && process.env.APPVEYOR_BUILD_NUMBER !== '') { build = `-${process.env.APPVEYOR_BUILD_NUMBER}`; + } else if (process.env.BUILD_NUMBER && process.env.BUILD_NUMBER !== '') { + build = `-${process.env.BUILD_NUMBER}`; } return build; } @@ -183,6 +185,7 @@ function safariCopyAssets(source, dest) { gulp.src(source) .on('error', reject) .pipe(gulpif('safari/Info.plist', replace('0.0.1', manifest.version))) + .pipe(gulpif('safari/Info.plist', replace('0.0.2', process.env.BUILD_NUMBER || manifest.version))) .pipe(gulp.dest(dest)) .on('end', resolve); }); diff --git a/jslib b/jslib index 3bf322a904..f30d6f8027 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 3bf322a904cd7ccb8c7e77edbecf8e152feb7364 +Subproject commit f30d6f8027055507abfdefd1eeb5d9aab25cc601 diff --git a/src/safari/safari/Info.plist b/src/safari/safari/Info.plist index 7676d60e40..82f785e9c6 100644 --- a/src/safari/safari/Info.plist +++ b/src/safari/safari/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 0.0.1 CFBundleVersion - 0.0.1 + 0.0.2 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSExtension