Skip to content

Commit 7b5c938

Browse files
ci: fix incorrect use of target_commitish in goreleaser release
1 parent 06e51ba commit 7b5c938

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Run GoReleaser
3434
uses: goreleaser/goreleaser-action@90a3faa9d0182683851fbfa97ca1a2cb983bfca3 # v6.2.1
3535
env:
36-
PROPOSED_VERSION: "${{ steps.extract_version.outputs.jsonnet_version }}"
36+
FROM_COMMITISH: "${{ github.ref_name }}"
3737
GITHUB_TOKEN: "${{ github.token }}"
3838
with:
3939
version: latest

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ checksum:
9696
release:
9797
draft: true
9898
skip_upload: false
99-
target_commitish: "{{ .Env.PROPOSED_VERSION }}"
99+
target_commitish: "{{ .Env.FROM_COMMITISH }}"
100100

101101
nfpms:
102102
- id: jsonnet

0 commit comments

Comments
 (0)