mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-25 02:51:59 +01:00
add build number to coverage zip filename
This commit is contained in:
parent
3f8ede39e6
commit
548552f70d
@ -138,8 +138,13 @@ gulp.task('webfonts', () => {
|
||||
gulp.task('ci', ['ci:coverage']);
|
||||
|
||||
gulp.task('ci:coverage', (cb) => {
|
||||
var build = '';
|
||||
if (process.env.APPVEYOR_BUILD_NUMBER && process.env.APPVEYOR_BUILD_NUMBER !== '') {
|
||||
build = `-${process.env.APPVEYOR_BUILD_NUMBER}`;
|
||||
}
|
||||
|
||||
return gulp.src(paths.coverage + '**/*')
|
||||
.pipe(zip('coverage.zip'))
|
||||
.pipe(zip(`coverage${build}.zip`))
|
||||
.pipe(gulp.dest(paths.coverage));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user