Skip to content

Commit

Permalink
Merge pull request #70 from woocommerce/tweak/uppercase-release-pr-title
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec authored Aug 1, 2023
2 parents 28f5554 + be4daf5 commit 81c951e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export default async ( { context, github, inputs, refName } ) => {
( wpVersion ? ' --wp_tested=' + wpVersion : '' ) +
( wcVersion ? ' --wc_tested=' + wcVersion : '' );

const title = `${ type } ${ version }`;
const title = `${
type.charAt( 0 ).toUpperCase() + type.slice( 1 )
} ${ version }`;
// We need to add only one newline before the pre-steps to make sure it's rendered as a list.
let trimmedPreSteps = preSteps;
if ( trimmedPreSteps !== '' ) {
Expand Down

0 comments on commit 81c951e

Please sign in to comment.