Skip to content

Commit

Permalink
Fix app bundle size diff not always being compared against latest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Mar 23, 2020
1 parent 56cf99a commit 45d144e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bots/datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function getBinarySizesCollection(firestore) {
function createOrUpdateDocument(collection, sha, data) {
const stampedData = {
...data,
timestamp: Date.now(),
timestamp: firebase.firestore.Timestamp.now(),
};
const docRef = collection.doc(sha);
return docRef.update(stampedData).catch(async error => {
Expand Down
4 changes: 2 additions & 2 deletions bots/report-bundle-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function report(target) {
'android-jsc-x86': android_getApkSize('jsc', 'x86'),
'android-jsc-x86_64': android_getApkSize('jsc', 'x86_64'),
},
'| android | hermes | arm',
'\\| android \\| hermes \\| arm',
);
break;

Expand All @@ -174,7 +174,7 @@ function report(target) {
'RNTester/build/Build/Products/Release-iphonesimulator/RNTester.app/RNTester',
),
},
'| ios | - | universal |',
'\\| ios \\| - \\| universal \\|',
);
break;

Expand Down

0 comments on commit 45d144e

Please sign in to comment.