File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,22 @@ Creates a new version specified by `<version>`.
152
152
153
153
Creates a new version by incrementing the major, minor, or patch number of the current version.
154
154
155
+ ##### ` yarn version --premajor ` <a class =" toc " id =" toc-yarn-version-premajor " href =" #toc-yarn-version-premajor " ></a >
156
+
157
+ ##### ` yarn version --preminor ` <a class =" toc " id =" toc-yarn-version-preminor " href =" #toc-yarn-version-preminor " ></a >
158
+
159
+ ##### ` yarn version --prepatch ` <a class =" toc " id =" toc-yarn-version-prepatch " href =" #toc-yarn-version-prepatch " ></a >
160
+
161
+ Creates a new prerelease version by incrementing the major, minor, or patch number of the current version and adding a prerelease number.
162
+
163
+ ##### ` yarn version --prerelease ` <a class =" toc " id =" toc-yarn-version-prerelease " href =" #toc-yarn-version-prerelease " ></a >
164
+
165
+ Increments the prerelease version number keeping the main version.
166
+
167
+ ##### ` yarn version [--premajor | --preminor | --prepatch | --prerelease] --preid <pre-identifier> ` <a class =" toc " id =" toc-yarn-version-preid " href =" #toc-yarn-version-preid " ></a >
168
+
169
+ Adds an identifier specified by ` <pre-identifier> ` to be used to prefix premajor, preminor, prepatch or prerelease version increments.
170
+
155
171
##### ` yarn version --no-git-tag-version ` <a class =" toc " id =" toc-yarn-version-no-git-tag-version " href =" #toc-yarn-version-no-git-tag-version " ></a >
156
172
157
173
Creates a new version without creating a git tag.
You can’t perform that action at this time.
0 commit comments