File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const getLastGitTag = async(): Promise<string | null> => {
17
17
export const getLastCommitMessage = async ( ) : Promise < string | null > => {
18
18
try {
19
19
const { stdout : lastCommitMessage , exitCode } = await getExecOutput (
20
- 'git log -1 --pretty=%B' ,
20
+ 'git log -1 --pretty=%B --no-merges ' ,
21
21
)
22
22
if ( exitCode !== 0 )
23
23
return null
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ async function run(): Promise<void> {
13
13
const lastCommitMessage = await getLastCommitMessage ( )
14
14
if ( lastCommitMessage === null )
15
15
return core . setFailed ( 'Could not get last commit message' )
16
- core . debug ( `Last commit message: ${ lastCommitMessage } ` )
16
+ core . info ( `Last commit message: ${ lastCommitMessage } ` )
17
17
18
18
const releaseType = getReleaseTypeFromCommitMessage ( lastCommitMessage )
19
- core . debug ( `Release type: ${ releaseType } ` )
19
+ core . info ( `Release type: ${ releaseType } ` )
20
20
21
21
if ( releaseType !== null ) {
22
22
const nextVersion = getNextVersion ( lastVersion , releaseType )
You can’t perform that action at this time.
0 commit comments