Skip to content

Commit 6c78c66

Browse files
committed
chore: Add log output when checking isReleaseCommit
1 parent dfc7e4a commit 6c78c66

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/commands.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ export const getLatestReleaseTag: (
5757
export const isReleaseCommit: (tagPrefix: string) => Promise<boolean> = async (tagPrefix) => {
5858
try {
5959
const {stdout} = await exec(`git for-each-ref --points-at HEAD --format='%(refname)'`);
60+
core.startGroup('Found the following git references that point to HEAD');
61+
core.info(`${stdout}`);
62+
core.endGroup();
6063

6164
const regex = new RegExp(`^refs/tags/${tagPrefix}\\d+\\.\\d+\\.\\d+$`);
6265

0 commit comments

Comments
 (0)