Commit 68084e1
feat: surface environment variable to indicate Change level
As noted in #5, it would be useful for Goreleaser templates to be able
to understand the different semver changes introduced in the release.
This exposes a variable if the change is detected, allowing a consumer
to use something like the below to conditionally handle the presence
(and non-zero contents), such as:
{{ if .Env.GOSEMREL_MAJOR }} ... {{ end }}
Closes #5.1 parent bd646a8 commit 68084e1
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
92 | 108 | | |
93 | 109 | | |
94 | 110 | | |
| |||
0 commit comments