【发布时间】:2017-08-30 20:24:44
【问题描述】:
他们是插件还是我应该使用 Grunt?我似乎在网上找不到任何东西...任何帮助将不胜感激
谢谢
【问题讨论】:
-
我只知道git version,但我只在MVC5项目中使用过
他们是插件还是我应该使用 Grunt?我似乎在网上找不到任何东西...任何帮助将不胜感激
谢谢
【问题讨论】:
以下是您可以从中受益的一些选项:
选项 1:
查看npm version 文档。
选项 2:
如果您使用 Grunt,您可能可以使用 grunt-bump。
用法:
grunt bump
>> Version bumped to 0.0.2
grunt bump:patch
>> Version bumped to 0.0.3
grunt bump:minor
>> Version bumped to 0.1.0
grunt bump:major
>> Version bumped to 1.0.0
PS: 如果你使用 Gulp,有一个 gulp-bump 包。
【讨论】: