Skip to content

Commit

Permalink
fix .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Jun 26, 2024
1 parent c0f2935 commit 773da8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
For a list of changes, see https://github.com/pulumi/pulumi-terraform-bridge/compare/$(cat ${{ github.workspace }}/previous_release_sha.txt)...$(cat ${{ github.workspace }}/release_sha.txt)
EOF
cat ${{ github.workspace }}/release-notes.md
- name: Apply matching tag
# GoReleaser expects to run in a repo tagged with the tag it is releasing.
#
Expand All @@ -114,7 +115,7 @@ jobs:
--clean
--config ${{ github.workspace }}/repo/.goreleaser.yml
--release-notes ${{ github.workspace }}/release-notes.md
version: latest
version: "~> v2"
workdir: ${{ github.workspace }}/bridge
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 3 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ archives:
id: archive
snapshot:
name_template: "{{ .Tag }}-SNAPSHOT"
changelog:
disable: true
# changelog: { disable: true } # We pass GoReleaser a CHANGELOG to use
release:
extra_files:
- glob: release_sha.txt # We need release_sha to generate accurate changelogs
github:
owner: pulumi
name: pulumi-terraform-provider
Expand Down

0 comments on commit 773da8b

Please sign in to comment.