-
Fields do not appear to be available to templates used in the global env section, as I was led to believe at https://goreleaser.com/customization/templates/ e.g.
results in MYBRANCH being set to "-test". I'm new to GoReleaser so it's possible I'm missing something here. |
Beta Was this translation helpful? Give feedback.
Answered by
caarlos0
Apr 4, 2023
Replies: 1 comment
-
the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
caarlos0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the
env
part is one of the first ones to run, before goreleaser knows against which branch it is running, that's why it didn't work.