Skip to content

Commit 38888c4

Browse files
authored
Merge pull request #141 from ramonskie/passed
update doc for the check-less usage
2 parents 137f3ec + bb109df commit 38888c4

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
@@ -176,7 +176,7 @@ Note that `bump` and `pre` don't update the version resource - they just
176176
modify the version that gets provided to the build. An output must be
177177
explicitly specified to actually update the version.
178178

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

182182

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

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

212212
* `get_latest`: *Optional.* See [Check-less Usage](#check-less-usage).
@@ -281,9 +281,9 @@ jobs:
281281
params: {file: version/version}
282282
```
283283

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

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

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

319319
The cons of check-less usage are:
320320

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

0 commit comments

Comments
 (0)