Skip to content

Commit

Permalink
fix asset path (take 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Jun 26, 2024
1 parent 1b55547 commit aa36279
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ jobs:
fetch-depth: 0
path: ${{ github.workspace }}/repo
- name: Stamp released SHA
run: cd ${{ github.workspace }}/bridge && git rev-parse HEAD >> ${{ github.workspace }}/release_sha.txt
run: |
cd ${{ github.workspace }}/bridge && git rev-parse HEAD >> ${{ github.workspace }}/bridge/release_sha.txt
echo release_sha.txt > ${{ github.workspace }}/gitignore_global
git config --global core.excludesFile ${{ github.workspace }}/gitignore_global
- name: Check previous release for SHA
run: |
echo "PREVIOUS_TAG=$(gh release view --json tagName --jq .tagName --repo pulumi/pulumi-terraform-provider)" >> $GITHUB_ENV
Expand Down
5 changes: 4 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ snapshot:
# 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
# We need release_sha to generate accurate changelogs
#
# This file is generated as part of the release process.
- glob: release_sha.txt
github:
owner: pulumi
name: pulumi-terraform-provider
Expand Down

0 comments on commit aa36279

Please sign in to comment.