Skip to content

Commit

Permalink
Print commits in release
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Mar 19, 2024
1 parent a7ac081 commit 0189373
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/publish-action.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ const publishAction = async ({ major, version, repo }) => {
version = data.newVersion;
console.info(`📌 Using auto shipIt context: ${context}`);
console.info(`📌 Using auto shipIt version: ${version}`);
console.info(`Commits in release:`);
data.commits.forEach((c) => console.info(`- ${c.hash.slice(0, 8)} ${c.subject}`));
}

const [, major, minor, patch] = version.match(/(\d+)\.(\d+)\.(\d+)-*(\w+)?/) || [];
Expand Down

0 comments on commit 0189373

Please sign in to comment.