Skip to content

Commit

Permalink
Update publish.js
Browse files Browse the repository at this point in the history
  • Loading branch information
georgegevoian authored Aug 5, 2024
1 parent 7d09cf8 commit 779d6d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildtools/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// or:
// node ./buildtools/publish.js manifest.json http://localhost:8585

const {execSync} = require('child_process');
const fs = require('fs');
const path = require('path');

Expand Down Expand Up @@ -62,6 +63,8 @@ for (const folder of folders) {
);
}
}
config.lastUpdatedAt = execSync(`git log -1 --format=%cI ${packageFile}`, {encoding: 'utf8'})
.trimEnd();
widgets.push(config);
}
}
Expand Down

0 comments on commit 779d6d5

Please sign in to comment.