Skip to content

Commit

Permalink
Merge pull request #148 from jfrog/add-tf-registry-manifest-file-to-c…
Browse files Browse the repository at this point in the history
…hecksum

Fix release missing manifest file in checksum
  • Loading branch information
alexhung authored Jul 25, 2024
2 parents 2a293cd + a45adb9 commit 06df61b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ builds:
flags:
- -trimpath
ldflags:
- '-s -w -X github.com/jfrog/terraform-provider-project/pkg/project/provider.Version={{.Version}}'
- '-s -w -X github.com/jfrog/terraform-provider-project/pkg/project/project.Version={{.Version}}'
goos:
- freebsd
- windows
Expand All @@ -35,6 +35,9 @@ archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
extra_files:
- glob: 'terraform-registry-manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
signs:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.7.1 (July 25, 2024)

BUG FIXES:

* Fix Terraform manifest file is missing from checksum file. PR: [#148](https://github.com/jfrog/terraform-provider-project/pull/148)

## 1.7.0 (July 24, 2024). Tested on Artifactory 7.84.17 with Terraform 1.9.2 and OpenTofu 1.7.3

NOTES:
Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ clean_tfc:
rm -fR dist tfc-testing/terraform.d/ tfc-testing/.terraform tfc-testing/terraform.tfstate* tfc-testing/.terraform.lock.hcl

release:
@git tag ${NEXT_VERSION} && git push --mirror
@echo "Pushed ${NEXT_VERSION}"
@git tag v${NEXT_VERSION} && git push --mirror
@echo "Pushed v${NEXT_VERSION}"
GOPROXY=https://proxy.golang.org GO111MODULE=on go get github.com/jfrog/terraform-provider-${PRODUCT}@v${NEXT_VERSION}
@echo "Updated pkg cache"

Expand Down

0 comments on commit 06df61b

Please sign in to comment.