improvement github token
Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
parent
e63093edc8
commit
a2b52c0dfc
|
@ -51,7 +51,7 @@ GoReleaser is a tool for building Go projects for multiple platforms, creating a
|
|||
1. Install [GoReleaser](https://goreleaser.com) using the [installation instructions](https://goreleaser.com/install/).
|
||||
1. Copy the [.goreleaser.yml file](https://github.com/hashicorp/terraform-provider-scaffolding/blob/master/.goreleaser.yml) from the [hashicorp/terraform-provider-scaffolding](https://github.com/hashicorp/terraform-provider-scaffolding) repository.
|
||||
1. Cache the password for your GPG private key with `gpg --armor --detach-sign` (see note below).
|
||||
1. Set your `GITHUB_TOKEN` to a [Personal Access Token](https://github.com/settings/tokens) that has the **public_repo** scope.
|
||||
1. Set your `GITHUB_TOKEN` to a [Personal Access Token](https://github.com/settings/tokens/new?scopes=public_repo) that has the **public_repo** scope.
|
||||
1. Tag your version with `git tag v1.2.3`.
|
||||
1. Build, sign, and upload your release with `goreleaser release --rm-dist`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue