Skip to content

Commit bb109df

Browse files
committed
update doc for the check-less usage
1 parent 2e4cdf9 commit bb109df

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Note that `bump` and `pre` don't update the version resource - they just
174174
modify the version that gets provided to the build. An output must be
175175
explicitly specified to actually update the version.
176176

177-
* `pre_without_version`: *Optional.* By default `false`, once it's set to `true`
177+
* `pre_without_version`: *Optional.* By default `false`, once it's set to `true`
178178
then PreRelease will be bumped without a version number.
179179

180180

@@ -204,7 +204,7 @@ if the driver supports it. That is, if we pull down version `N`, and bump to
204204
because there's some new version `M`, the driver will re-apply the bump to get
205205
`M+1`, and try again (in a loop).
206206

207-
* `pre_without_version`: *Optional.* By default `false`, once it's set to `true`
207+
* `pre_without_version`: *Optional.* By default `false`, once it's set to `true`
208208
then PreRelease will be bumped without a version number.
209209

210210
* `get_latest`: *Optional.* See [Check-less Usage](#check-less-usage).
@@ -279,9 +279,9 @@ jobs:
279279
params: {file: version/version}
280280
```
281281

282-
In above classic mode, Concourse will run periodic checks against the `semver`
283-
resource `version`. Each check will do a `git clone` as the driver is `git`.
284-
When there are a lot of `semver` resources, checks on `semver` resources may
282+
In above classic mode, Concourse will run periodic checks against the `semver`
283+
resource `version`. Each check will do a `git clone` as the driver is `git`.
284+
When there are a lot of `semver` resources, checks on `semver` resources may
285285
also bring burden to the git system as each check will invoke a `git clone`.
286286

287287
Given each `semver` resource requires a parameter `file` in `source`, `semver`
@@ -311,12 +311,13 @@ it. Param `get_latest: true` tells the `put` step to only fetch the latest versi
311311
without bumping anything. Then the implied `get` will fetch a version as a typical
312312
`get` step.
313313

314-
If your Concourse or Git (e.g. Gitlab) systems are exhausted by `semver` resources'
314+
If your Concourse or Git (e.g. Gitlab) systems are exhausted by `semver` resources'
315315
checks, you may consider reforming pipelines to use this check-less usage.
316316

317317
The cons of check-less usage are:
318318

319319
* you cannot use `put` step as a job trigger.
320+
* you cannot use `passed` in a `put` step
320321
* `put` step with `get_latest: true` will always fetch the latest version, thus
321322
you are not able to pin an old version.
322323

0 commit comments

Comments
 (0)