插件GitHub地址:https://github.com/git-commit-id/maven-git-commit-id-plugin git-commit-id-plugin 是一个类似于 buildnumber-maven-plugin 的插件,由于buildnumber-maven-plugin插件仅支持 CVS 和 SVN,所以作者就开发了一个支持Git版。这个插件主要有以下几个功能: 明确部署的版本 校验属性是否符合预期值 一、...
GitCommitPlugin.ShowEmoji: whether to show emoji, defaulttrue. {"GitCommitPlugin.ShowEmoji":true} GitCommitPlugin.CustomCommitType: customize the commit type, defaultnull. {"GitCommitPlugin.CustomCommitType":["customTypeName"]} or [{// If there are duplicate keys, rewrite the config,otherwise ...
git-commit-plugin插件的使用 插件长这样: 安装之后会多一个猫猫 使用 对应的提交信息如下
该插件 git-commit-id-plugin 可以很方便将打包时的git信息生成文件在包中,可以很方便的查看,官方文档地址:https://github.com/git-commit-id/git-commit-id-maven-plugin/blob/master/maven/docs/using-the-plugin.md 以下是简单的翻译,最后有使用到的配置 <plugin> <groupId>pl.project13.maven</groupId> ...
https://repo.huaweicloud.com/repository/maven/pl/project13/maven/git-commit-id-plugin/4.9.10/ 这样打包后,解压jar包。BOOT-INF\classes 下会有个文件git.properties 记录提交信息。 git.commit.id就是提交id。 注:使用该工具,注意先提交再打包,这样版本才一致。
首先我们需要去Vscode插件市场搜索git-commit-plugin并且进行安装。 安装完之后可以使用组合键Command + Shift + P呼出指令行,并键入指令show git commit template或者点击git插件栏上的小图标唤醒插件界面。 根据自己当前提交所要表达的意义,选择对应的type类型去编写commit信息 ...
首先我们需要去Vscode插件市场搜索git-commit-plugin并且进行安装。 安装完之后可以使用组合键Command + Shift + P呼出指令行,并键入指令show git commit template或者点击git插件栏上的小图标唤醒插件界面。 根据自己当前提交所要表达的意义,选择对应的type类型去编写commit信息 ...
https://github.com/ktoso/maven-git-commit-id-plugin 对于英语不好的我来说,看英语很痛苦,为了不让自己在同一个地方痛苦两次,尝试在此记录下该插件的使用及其配置,方便自己,也方便其他英语不好的同仁们;如有歧义,请以原版文档为主. <plugin><groupId>pl.project13.maven</groupId><artifactId>git-commit-...
Step1 Install the plugin Step2 Use the command shortcut showGitCommit to open the command window or Click the icon on the git plugin navigation bar Step3 Enter the commit information, which automatically generates a commit message that conforms to the specification...
npm install git-commit-info-plugin 一、在vite.config.ts中引用 // vite.config.ts import { buildInfo } from 'git-commit-info-plugin' import { defineConfig } from 'vite' export default defineConfig({ plugins:[ ... buildInfo() ]