Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Add a not about semver pre-release versions
Browse files Browse the repository at this point in the history
Signed-off-by: Bryan Boreham <[email protected]>
  • Loading branch information
bboreham committed Nov 5, 2019
1 parent ea2999c commit 541d166
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/references/fluxctl.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,11 @@ fluxctl policy --workload=default:deployment/helloworld --tag-all='semver:*'
Using a semver filter will also affect how Flux sorts images, so
that the higher versions will be considered newer.

Semver has a concept of "pre-release" versions which have an extra
label like `-beta` at the end. If you want to include these then
write a policy with a hyphen; for example `>=1.2.3` will skip
prereleases while `>=1.2.3-0` will include prereleases.

#### Regexp

If your images have complex tags you can filter by regular expression:
Expand Down

0 comments on commit 541d166

Please sign in to comment.