File tree 3 files changed +13
-12
lines changed
3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,19 @@ jobs:
33
33
terraform-provider-release :
34
34
name : ' Terraform Provider Release'
35
35
needs : [go-version, release-notes]
36
- uses : hashicorp/ghaction-terraform-provider-release/.github/workflows/hashicorp.yml@v1
36
+ uses : hashicorp/ghaction-terraform-provider-release/.github/workflows/hashicorp.yml@v2
37
37
secrets :
38
- hc-releases-aws-access-key-id : ' ${{ secrets.TF_PROVIDER_RELEASE_AWS_ACCESS_KEY_ID }}'
39
- hc-releases-aws-secret-access-key : ' ${{ secrets.TF_PROVIDER_RELEASE_AWS_SECRET_ACCESS_KEY }}'
40
- hc-releases-aws-role-arn : ' ${{ secrets.TF_PROVIDER_RELEASE_AWS_ROLE_ARN }}'
41
- hc-releases-fastly-api-token : ' ${{ secrets.HASHI_FASTLY_PURGE_TOKEN }}'
42
38
hc-releases-github-token : ' ${{ secrets.HASHI_RELEASES_GITHUB_TOKEN }}'
39
+ hc-releases-host-staging : ' ${{ secrets.HC_RELEASES_HOST_STAGING }}'
40
+ hc-releases-host-prod : ' ${{ secrets.HC_RELEASES_HOST_PROD }}'
41
+ hc-releases-key-prod : ' ${{ secrets.HC_RELEASES_KEY_PROD }}'
42
+ hc-releases-key-staging : ' ${{ secrets.HC_RELEASES_KEY_STAGING }}'
43
43
hc-releases-terraform-registry-sync-token : ' ${{ secrets.TF_PROVIDER_RELEASE_TERRAFORM_REGISTRY_SYNC_TOKEN }}'
44
44
setup-signore-github-token : ' ${{ secrets.HASHI_SIGNORE_GITHUB_TOKEN }}'
45
45
signore-client-id : ' ${{ secrets.SIGNORE_CLIENT_ID }}'
46
46
signore-client-secret : ' ${{ secrets.SIGNORE_CLIENT_SECRET }}'
47
47
with :
48
48
release-notes : true
49
49
setup-go-version : ' ${{ needs.go-version.outputs.version }}'
50
+ # Product Version (e.g. v1.2.3 or github.ref_name)
51
+ product-version : ' ${{ github.ref_name }}'
Original file line number Diff line number Diff line change @@ -35,16 +35,13 @@ checksum:
35
35
name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
36
36
algorithm : sha256
37
37
publishers :
38
- - name : hc-releases
38
+ - name : upload
39
39
checksum : true
40
40
signature : true
41
- cmd : hc-releases upload- file -header="x-terraform-protocol-version={{ .Env.PROTOCOL_VERSION }}" -header="x-terraform-protocol-versions={{ .Env.PROTOCOL_VERSIONS }}" {{ abs .ArtifactPath }}
41
+ cmd : hc-releases upload -product {{ .ProjectName }} -version {{ .Version }} - file={{ .ArtifactPath }}={{ .ArtifactName }} -header="x-terraform-protocol-version={{ .Env.PROTOCOL_VERSION }}" -header="x-terraform-protocol-versions={{ .Env.PROTOCOL_VERSIONS }}"
42
42
env :
43
- - AWS_DEFAULT_REGION={{ .Env.AWS_DEFAULT_REGION }}
44
- - AWS_REGION={{ .Env.AWS_REGION }}
45
- - AWS_ACCESS_KEY_ID={{ .Env.AWS_ACCESS_KEY_ID }}
46
- - AWS_SECRET_ACCESS_KEY={{ .Env.AWS_SECRET_ACCESS_KEY }}
47
- - AWS_SESSION_TOKEN={{ .Env.AWS_SESSION_TOKEN }}
43
+ - HC_RELEASES_HOST={{ .Env.HC_RELEASES_HOST }}
44
+ - HC_RELEASES_KEY={{ .Env.HC_RELEASES_KEY }}
48
45
release :
49
46
ids :
50
47
- none
Original file line number Diff line number Diff line change
1
+ url_source_repository = " https://github.com/hashicorp/terraform-provider-google"
2
+ url_license = " https://github.com/hashicorp/terraform-provider-google/blob/main/LICENSE"
You can’t perform that action at this time.
0 commit comments