Skip to content

Commit

Permalink
Upload golds and filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
tinayuangao committed Mar 1, 2017
1 parent 252db25 commit 353d68b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/gulp/tasks/screenshots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ task('screenshots', () => {
.then(() => updateTravis(database, prNumber))
.then(() => setScreenFilenames(database, prNumber))
.then(() => database.goOffline(), () => database.goOffline());
} else if (process.env['TRAVIS']) {
// Only update golds and filenames for build
let database = openFirebaseScreenshotsDatabase();
uploadScreenshots(null, null)
.then(() => setScreenFilenames(database, null))
.then(() => database.goOffline(), () => database.goOffline());

}
});

Expand Down

0 comments on commit 353d68b

Please sign in to comment.