UNPKG

@dappnode/dappnodesdk

Version:

dappnodesdk is a tool to make the creation of new dappnode packages as simple as possible. It helps to initialize and publish in ethereum blockchain

18 lines 620 B
export function getBumpPrBody(upstreamSettings) { return [ "Bumps upstream version", upstreamSettings .flatMap(({ repo, githubVersion, manifestVersion }) => `- [${repo}](${getGitHubUrl({ repo })}) from ${manifestVersion} to [${githubVersion}](${getGitHubUrl({ repo, tag: githubVersion })})`) .join("\n") ].join("\n\n"); } function getGitHubUrl({ repo, tag = "" }) { const baseUrl = `https://github.com/${repo}`; return tag ? `${baseUrl}/releases/tag/${tag}` : baseUrl; } //# sourceMappingURL=getBumpPrBody.js.map