We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following https://goreleaser.com/customization/hooks/ I wrote a hook like this:
after: hooks: - cmd: "bash <(curl -s https://raw.githubusercontent.com/ory/xgoreleaser/master/docs.sh)" env: TAG_VERSION: "{{ .Tag }}" DOCS_VERSION: "{{ .Major }}.{{ .Minor }}"
Running goreleaser check though results in:
goreleaser check
% goreleaser check • running goreleaser v1.1.0-pro • loading config file file=.goreleaser.yml ⨯ command failed error=failed to load config: yaml: unmarshal errors: line 21: cannot unmarshal !!map into []string
See above
1.1.0-pro
No response
The text was updated successfully, but these errors were encountered:
oh, bad documentation, env should be an array:
env
after: hooks: - cmd: "bash <(curl -s https://raw.githubusercontent.com/ory/xgoreleaser/master/docs.sh)" env: - "TAG_VERSION={{ .Tag }}" - "DOCS_VERSION={{ .Major }}.{{ .Minor }}"
this should work :)
Sorry, something went wrong.
yeah, will update docs!
fix: goreleaser config
7099af2
See goreleaser/goreleaser#2762
Awesome, thank you for the quick help as always @caarlos0 :)
c540c6c
4e021dc
caarlos0
No branches or pull requests
What happened?
Following https://goreleaser.com/customization/hooks/ I wrote a hook like this:
Running
goreleaser check
though results in:How can we reproduce this?
See above
goreleaser version
GoReleaser Check
Search
Code of Conduct
Additional context
No response
The text was updated successfully, but these errors were encountered: