From 050ba9bf25e826f95e2313c74748cdbdbaa4f718 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 22 Dec 2023 12:06:25 -0500 Subject: [PATCH] fix(templ) closes #4570 --- projects/templ.guide/package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/templ.guide/package.yml b/projects/templ.guide/package.yml index 0377ccbd..8b23ab9e 100644 --- a/projects/templ.guide/package.yml +++ b/projects/templ.guide/package.yml @@ -25,6 +25,7 @@ provides: test: script: - - test "$(templ --version)" = {{version}} + # some versions have a v prefix, some don't + - test "$(templ --version)" = {{version}} || test "$(templ --version)" = "v{{version}}" - templ generate - test -f hello_templ.go