mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-22 16:29:09 +01:00
BUILD_NUMBER for safari extension
This commit is contained in:
parent
102cca9aad
commit
6fd3189d14
@ -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
@ -1 +1 @@
|
||||
Subproject commit 3bf322a904cd7ccb8c7e77edbecf8e152feb7364
|
||||
Subproject commit f30d6f8027055507abfdefd1eeb5d9aab25cc601
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user