mirror of
https://github.com/bestnite/bilinovel-downloader.git
synced 2025-10-26 01:01:35 +00:00
ci(goreleaser): Install templ before generating templates
Adds a `go install` hook to `.goreleaser.yaml` to ensure the `templ` binary is installed and up-to-date before `templ generate` is executed. This prevents potential build failures in CI/CD environments where `templ` might not be pre-installed or could be an outdated version, making the release process more robust and self-contained.
This commit is contained in:
@@ -2,6 +2,7 @@ version: 2
|
|||||||
project_name: bilinovel-downloader
|
project_name: bilinovel-downloader
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
|
- go install github.com/a-h/templ/cmd/templ@latest
|
||||||
- templ generate
|
- templ generate
|
||||||
builds:
|
builds:
|
||||||
- env:
|
- env:
|
||||||
|
|||||||
Reference in New Issue
Block a user