We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252db25 commit 353d68bCopy full SHA for 353d68b
tools/gulp/tasks/screenshots.ts
@@ -26,6 +26,13 @@ task('screenshots', () => {
26
.then(() => updateTravis(database, prNumber))
27
.then(() => setScreenFilenames(database, prNumber))
28
.then(() => database.goOffline(), () => database.goOffline());
29
+ } else if (process.env['TRAVIS']) {
30
+ // Only update golds and filenames for build
31
+ let database = openFirebaseScreenshotsDatabase();
32
+ uploadScreenshots(null, null)
33
+ .then(() => setScreenFilenames(database, null))
34
+ .then(() => database.goOffline(), () => database.goOffline());
35
+
36
}
37
});
38
0 commit comments