@favware/cliff-jumper
Version:
A small CLI tool to create a semantic release and git-cliff powered Changelog
10 lines • 372 B
JavaScript
import { doActionAndLog, resolveTagTemplate } from '#lib/utils';
import { execa } from 'execa';
export function createTag(options, newVersion) {
return doActionAndLog('Creating tag', async () => {
if (!options.dryRun) {
await execa('git', ['tag', resolveTagTemplate(options, newVersion)]);
}
});
}
//# sourceMappingURL=create-tag.js.map