Skip to content

Commit

Permalink
πŸ› Fix version check (slsa-framework#368)
Browse files Browse the repository at this point in the history
* updates

* updates

* updates
  • Loading branch information
laurentsimon authored Jun 20, 2022
1 parent 8897a8c commit 3762327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/builder-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set -euo pipefail
PREFIX="refs/tags/"

# Extract version.
if [[ "$BUILDER_REF" =~ ^$PREFIX* ]]; then
if [[ "$BUILDER_REF" != "$PREFIX"* ]]; then
echo "Invalid ref: $BUILDER_REF"
exit 2
fi
Expand Down

0 comments on commit 3762327

Please sign in to comment.