We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20eba38 commit 7e82a48Copy full SHA for 7e82a48
.github/goreleaser.yml
@@ -55,7 +55,7 @@ release:
55
mode: keep-existing
56
make_latest: false
57
name_template: '{{.Tag}}'
58
- target_commitish: "{{ .Branch }}"
+ target_commitish: '{{ if index .Env "GO_RELEASER_TARGET_COMMITISH" }}{{ .Env.GO_RELEASER_TARGET_COMMITISH }}{{ else }}{{ .Branch }}{{ end }}'
59
prerelease: auto
60
61
changelog:
0 commit comments