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

Add a note about semver pre-release versions #2582

Merged
merged 1 commit into from
Nov 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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