Skip to content

Commit

Permalink
build: allow a 'v' prefix when using the main-unstable tag
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih committed Oct 16, 2023
1 parent 4a0e508 commit e776cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/pkgs/images/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let
# Script doesn't need to be used with main branch `--alias-tag <main-branch-style-tag>`.
# The repo chart is already prepared.
if [[ "$(semver validate ${tag})" == "valid" ]] &&
[[ ! ${tag} =~ ^([0-9]+\.[0-9]+\.[0-9]+-0-main-unstable(-[0-9]+){6}-0)$ ]]; then
[[ ! ${tag} =~ ^(v?[0-9]+\.[0-9]+\.[0-9]+-0-main-unstable(-[0-9]+){6}-0)$ ]]; then
CHART_FILE=build/chart/Chart.yaml build/scripts/helm/publish-chart-yaml.sh --app-tag ${tag} --override-index ""
fi
chmod -w build/chart
Expand Down

0 comments on commit e776cd3

Please sign in to comment.