1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00

BUILD_NUMBER for safari extension

This commit is contained in:
Kyle Spearrin 2020-09-28 13:22:07 -04:00
parent 102cca9aad
commit 6fd3189d14
3 changed files with 5 additions and 2 deletions

View File

@ -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);
});

2
jslib

@ -1 +1 @@
Subproject commit 3bf322a904cd7ccb8c7e77edbecf8e152feb7364
Subproject commit f30d6f8027055507abfdefd1eeb5d9aab25cc601

View File

@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>0.0.1</string>
<key>CFBundleVersion</key>
<string>0.0.1</string>
<string>0.0.2</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSExtension</key>