API 参考
    正在准备搜索索引...

    Information about the work that was performed by the versionBump() function.

    interface VersionBumpResults {
        commit: string | false;
        currentVersion: string;
        newVersion: string;
        release?: VipReleaseType;
        tag: string | false;
    }

    层级 (查看层级一览)

    索引

    属性

    commit: string | false

    用于 git 提交的提交消息,如果未创建 git 提交,则为“false”。

    • 注意:这永远不会是空字符串。 它将始终至少包含新版本号。
    currentVersion: string

    package.json文件中对应的上一个版本号

    newVersion: string

    发布的新的版本号

    release?: VipReleaseType

    T使用的发布类型,如果使用了自定义版本号,则为 'undefined' .

    tag: string | false

    用于 git 标签的标签名称,如果未创建 git 标签,则为 'false'。

    • 注意:这永远不会是空字符串。 它将始终至少包含新版本号。