You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+80-5Lines changed: 80 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,9 @@ plan:
154
154
155
155
### `check`: Report the current version number.
156
156
157
-
Detects new versions by reading the file from the specified source. If the file is empty, it returns the `initial_version`. If the file is not empty, it returns the version specified in the file.
157
+
Detects new versions by reading the file from the specified source. If the
158
+
file is empty, it returns the `initial_version`. If the file is not empty, it
159
+
returns the version specified in the file.
158
160
159
161
### `in`: Provide the version as a file, optionally bumping it.
160
162
@@ -205,6 +207,7 @@ because there's some new version `M`, the driver will re-apply the bump to get
205
207
* `pre_without_version`: *Optional.* By default `false`, once it's set to `true`
206
208
then PreRelease will be bumped without a version number.
207
209
210
+
* `get_latest`: *Optional.* See [Check-less Usage](#check-less-usage).
208
211
209
212
## Version Bumping Semantics
210
213
@@ -229,7 +232,10 @@ be one of:
229
232
version is reset to `1`. If the version is *not* already a pre-release, then
230
233
`pre`is added, starting at `1`.
231
234
232
-
The value of `pre` can be anything you like; the value will be `pre`-pended (_hah_) to a numeric value. For example, `pre: foo` will result in a semver of `x.y.z-foo.<number>`, `pre: alpha` becomes `x.y.z-alpha.<number>`, and `pre: my-preferred-naming-convention` becomes `x.y.z-my-preferred-naming-convention.<number>`
235
+
The value of `pre` can be anything you like; the value will be `pre`-pended (_hah_)
236
+
to a numeric value. For example, `pre: foo` will result in a semver of
237
+
`x.y.z-foo.<number>`, `pre: alpha` becomes `x.y.z-alpha.<number>`, and
0 commit comments