MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / buildChannelPrPreamble

Function buildChannelPrPreamble

packages/bumpy/src/commands/ci.ts:1166–1173  ·  view source on GitHub ↗
(config: BumpyConfig, channel: ResolvedChannel)

Source from the content-addressed store, hash-verified

1164}
1165
1166function buildChannelPrPreamble(config: BumpyConfig, channel: ResolvedChannel): string {
1167 return [
1168 config.versionPr.preamble,
1169 '',
1170 `> 🔀 **Prerelease channel \`${channel.name}\`** — merging this PR publishes the versions below to the \`@${channel.tag}\` dist-tag.`,
1171 `> The diff only moves bump files into \`.bumpy/${channel.name}/\` — prerelease versions are derived at publish time and never committed. The \`.x\` counter is assigned from the registry at publish time.`,
1172 ].join('\n');
1173}
1174
1175/** Enable GitHub auto-merge on a PR, trying the available merge methods in order */
1176async function enableAutoMerge(rootDir: string, prNumber: string): Promise<void> {

Callers 1

createChannelReleasePrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…