Skip to content

Commit

Permalink
Changed commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicDataInfo committed Jul 3, 2020
1 parent 2f2b9b1 commit 9bbb236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Main {
const status = await git.status();
const changesCount = status.created.length + status.modified.length + status.deleted.length + status.renamed.length;
if (changesCount === 0) return;
const commitMessage = `Update - ${Math.floor(Date.now() / 1000)}`;
const commitMessage = `Update - ${new Date().toISOString()}`;
await git.commit(commitMessage);
await git.removeRemote('origin');
await git.addRemote('origin', process.env.GIT_REMOTE);
Expand Down

0 comments on commit 9bbb236

Please sign in to comment.