fix(templ)

closes #6183
This commit is contained in:
Jacob Heider 2024-05-20 10:18:44 -04:00 committed by Jacob Heider
parent 51ab03e0a2
commit 236f8dede3

View file

@ -1,10 +1,9 @@
distributable: distributable:
url: https://github.com/a-h/templ/archive/refs/tags/v{{version}}.tar.gz url: https://github.com/a-h/templ/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
github: a-h/templ github: a-h/templ
strip: /^v/
build: build:
dependencies: dependencies:
@ -16,9 +15,8 @@ build:
- -w - -w
- -s - -s
script: script:
- go build -v -ldflags="$LDFLAGS" -o templ ./cmd/templ - echo -n {{ version }} >.version
- mkdir -p "{{ prefix }}"/bin - go build -v -ldflags="$LDFLAGS" -o "{{ prefix }}"/bin/templ ./cmd/templ
- mv templ "{{ prefix }}"/bin
provides: provides:
- bin/templ - bin/templ