Commit c60d625
committed
Use
By using `envOrDefault` an issue is prevented in evaluating the
template before a release is created. By setting the default value
to `ENV_VAR_GPG_PRIVATE_KEY_FILE_NOT_SET`, this value is then shown
in the error message at signing time.
The reason for changing this is so that it becomes possible to
create local, unsigned releases when creating a release as follows:
`goreleaser release --snapshot --clean --skip sign,after`envOrDefault for GPG_PRIVATE_KEY_FILE environment variable1 parent 5d86f91 commit c60d625
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments