API 参考 / @142vip/release-version / VersionBumpResults
接口: VersionBumpResults
定义于: enums/version-bump.interface.ts:89
Information about the work that was performed by the versionBump()
function.
theme_extended_by
属性
commit
commit:
string
|false
定义于: enums/version-bump.interface.ts:109
用于 git 提交的提交消息,如果未创建 git 提交,则为“false”。
- 注意:这永远不会是空字符串。 它将始终至少包含新版本号。
currentVersion
currentVersion:
string
定义于: enums/version-bump.interface.ts:98
package.json文件中对应的上一个版本号
newVersion
newVersion:
string
定义于: enums/version-bump.interface.ts:103
发布的新的版本号
release?
optional
release:VipReleaseType
定义于: enums/version-bump.interface.ts:93
T使用的发布类型,如果使用了自定义版本号,则为 'undefined' .
tag
tag:
string
|false
定义于: enums/version-bump.interface.ts:115
用于 git 标签的标签名称,如果未创建 git 标签,则为 'false'。
- 注意:这永远不会是空字符串。 它将始终至少包含新版本号。