Skip to content

Commit

Permalink
chore: README
Browse files Browse the repository at this point in the history
  • Loading branch information
thiskevinwang committed Oct 7, 2023
1 parent c89de60 commit 4110533
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ Use the following steps to proceed.
3. Run `goreleaser`: `GITHUB_TOKEN=$(gh auth token) goreleaser release --clean`
- This will create a new GitHub release which should be detected by the Terraform registry shortly after.

> [!NOTE]
>
> The goreleaser config requires `GPG_FINGERPRINT` to be set. Maybe try the following (needs to be tested)
>
> ```bash
> export GPG_FINGERPRINT=$(gpg --list-keys --with-colons | awk -F: '$1 == "fpr" || $1 == "fp2" {print $10}' | head -n 1)
> export GITHUB_TOKEN=$(gh auth token)
> goreleaser release --clean
> ```
>
> - Ref: https://unix.stackexchange.com/a/743986
## Appendix
- https://thekevinwang.com/2023/10/05/build-publish-terraform-provider
Expand Down

0 comments on commit 4110533

Please sign in to comment.