diff --git a/.goreleaser.yml b/.goreleaser.yml index df32c6d0dc3..e5e87967150 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,4 +17,7 @@ project_name: kratos after: hooks: - cmd: | - TAG_VERSION="{{ .Tag }}" DOCS_VERSION="{{ .Major }}.{{ .Minor }}" bash <(curl -s https://raw.githubusercontent.com/ory/xgoreleaser/master/docs.sh) + bash <(curl -s https://raw.githubusercontent.com/ory/xgoreleaser/master/docs.sh) + env: + TAG_VERSION: "{{ .Tag }}" + DOCS_VERSION: "{{ .Major }}.{{ .Minor }}"