Skip to content

Commit

Permalink
Fix build flag to set provider version for user-agent string (#367)
Browse files Browse the repository at this point in the history
* Fix build flag to set provider version for user-agent string

* Use Heroku’s runner for release workflow

* Fix naming of provider version source for user-agent string
  • Loading branch information
mars authored Mar 15, 2023
1 parent 5c2c58a commit 82ec9a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
goreleaser:
runs-on: ubuntu-latest
runs-on: pub-hk-ubuntu-22.04-small
steps:
-
name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ builds:
- env:
- CGO_ENABLED=0
ldflags:
- '-s -w -X version.ProviderVersion={{.Version}}'
- -s -w -X github.com/heroku/terraform-provider-heroku/v5/version.ProviderVersion={{.Version}}
goos:
- freebsd
- openbsd
Expand Down

0 comments on commit 82ec9a7

Please sign in to comment.