Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/commander.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const uuid = require( 'uuid/v4' );
const gitRepoOwner = 'WordPress';
const gitRepoURL = 'https://github.com/' + gitRepoOwner + '/gutenberg.git';
const svnRepoURL = 'https://plugins.svn.wordpress.org/gutenberg';
const releasePageURLPrefix = 'https://github.com/WordPress/gutenberg/releases/tag/';

// Working Directories
const gitWorkingDirectoryPath = path.join( os.tmpdir(), uuid() );
Expand Down Expand Up @@ -392,7 +393,7 @@ async function runBumpPluginVersionAndCommitStep( version, changelog, abortMessa
const newReadmeContent =
readmeFileContent.substr( 0, readmeFileContent.indexOf( '== Changelog ==' ) ) +
'== Changelog ==\n\n' +
changelog + '\n';
`To read the changelog for Gutenberg ${ version }, please navigate to the <a href="${ releasePageURLPrefix }v${ version }">release page</a>.` + '\n';
fs.writeFileSync( readmePath, newReadmeContent );

// Update the content of the changelog.txt file
Expand Down