mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
BUILD_NUMBER for safari extension
This commit is contained in:
@@ -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
2
jslib
Submodule jslib updated: 3bf322a904...f30d6f8027
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user