Skip to content

Commit

Permalink
guidance on version tags
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Petgrave <[email protected]>
  • Loading branch information
ramonpetgrave64 committed Feb 24, 2024
1 parent 86f214b commit 042f200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/generate-builder/builder-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if [[ "$builder_tag" == "$(echo -n "$builder_tag" | grep -P '^[a-f\d]{40}$')" ]]
fi

if [[ "$builder_tag" != "$(echo -n "$builder_tag" | grep -oe '^v[1-9]\+\.[0-9]\+\.[0-9]\+\(-rc\.[0-9]\+\)\?$')" ]]; then
echo "Invalid builder version: $builder_tag. Expected version of the form vX.Y.Z(-rc.A)"
echo "Invalid builder version: $builder_tag. Expected version of the form vX.Y.Z(-rc.A), and at least v1.0.0"
echo "For details see https://github.com/slsa-framework/slsa-github-generator/blob/main/README.md#referencing-slsa-builders-and-generators"
exit 7
fi
Expand Down

0 comments on commit 042f200

Please sign in to comment.