Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
fix: git add with new commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Sep 21, 2021
1 parent 61d48c6 commit 21fe9c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/publish/git-run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ const gitRun = async (

// Update mass-publish.json with new commitFrom hash
await updateConfig(config);
// Stage files again
await gitAdd();

const commitMessage = newCommitMessage(config, bumpObjects);
await gitCommit(commitMessage);

Expand Down

0 comments on commit 21fe9c7

Please sign in to comment.