From 6a33177081b384f28f1580528efb71aae30bb4d5 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 5 Nov 2019 17:51:02 +0000 Subject: [PATCH] Add a note about semver pre-release versions Signed-off-by: Bryan Boreham --- docs/references/fluxctl.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/references/fluxctl.md b/docs/references/fluxctl.md index 25d6e705e..dcbda575c 100644 --- a/docs/references/fluxctl.md +++ b/docs/references/fluxctl.md @@ -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: