UNPKG

yaba-release-cli

Version:

Yaba is a simple CLI tool that helps you manage releases of your Github projects.

16 lines (13 loc) 489 B
import { runReleaseCommand } from './release-command.js'; const HOTFIX_TAG_PATTERN = 'hotfix_prod_global_{yyyyMMdd}.{HHmm}'; export async function runReleaseHotfixCommand(options, runtimeConfig, isJsonOutput) { const hotfixConfig = { ...runtimeConfig, release: { ...runtimeConfig?.release, tagPattern: HOTFIX_TAG_PATTERN, tagStrategy: 'pattern' } }; return runReleaseCommand(options, hotfixConfig, isJsonOutput); }