Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
fix(changelog): fix formatting on strings generated
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Aug 31, 2022
1 parent b644a3c commit be7cfe8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/sfpowerscripts-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/sfpowerscripts-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dxatscale/sfpowerscripts",
"description": "A build system for package based development in Salesforce,delivered as a sfdx plugin that can be implemented in any CI/CD system of choice.Read more about the plugin and details here - https://dxatscale.gitbook.io/sfpowerscripts/",
"version": "19.4.0",
"version": "19.4.1",
"author": "dxatscale",
"release": "August 22",
"bin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ export default class ChangelogMarkdownGenerator {
let release: Release = this.releaseChangelog.releases[releaseNum];

if (!release.names) {
payload += `\n<a id=${release['name']}></a>${EOL}`; // Create anchor from release hash Id
payload += `# ${release['name']}${EOL}`;
payload += `\n<a id=${release['name']}></a>\n `; // Create anchor from release hash Id
payload += `# ${release['name']}\n`;
} else {
payload += `\n<a id=${release.hashId}></a>${EOL}`; // Create anchor from release hash Id
payload += `# ${release.names.join(`/`)}${EOL}`;
payload += `Cumulative Release Number: ${release.buildNumber} ${EOL} `;
payload += `\n<a id=${release.hashId}></a>\n`; // Create anchor from release hash Id
payload += `# ${release.names.join(`/`)}\n `;
payload += `Cumulative Release Number: ${release.buildNumber}\n `;
if(release.date)
payload += `Matching defintion first deployed to an org on: ${release.date}${EOL}`
payload += `Matching defintion first deployed to an org on: ${release.date}\n `

}

Expand Down

0 comments on commit be7cfe8

Please sign in to comment.