@pvm/add-tag
Provides a node api
for getting a new release tag and a cli api
for
adding a release tag to a commit. @pvm/add-tag
only add tag and not generating any additional stuff like changelogs and other artifacts what @pvm/update
do.
Properties
default
โข default: { configExt
: RecursivePartial
<Config
> ; factory
: PluginFactory
; name
: string
= __filename } | { factory
: PluginFactory
; name
: string
= __filename } | { configExt
: RecursivePartial
<Config
> ; name
: string
= __filename }
Variables
builder
โข builder: Object
= {}
Defined in
packages/pvm-add-tag/cli/pvm-add-tag.ts:11
command
โข command: "add-tag"
Defined in
packages/pvm-add-tag/cli/pvm-add-tag.ts:9
description
โข description: "Creates a new release tag via GitLab API based on commits made after the last release tag"
Defined in
packages/pvm-add-tag/cli/pvm-add-tag.ts:10
Functions
getNewTag
โธ getNewTag(config
, targetRef?
): Promise
<string
| null
>
Parameters
Name | Type | Default value |
---|---|---|
config | Config | undefined |
targetRef | string | 'HEAD' |
Returns
Promise
<string
| null
>
Defined in
packages/pvm-add-tag/lib/get-new-tag.ts:9
handler
โธ Const
handler(): Promise
<void
>
Returns
Promise
<void
>