Skip to content

Commit

Permalink
Merge pull request #19 from KeisukeYamashita/add-changelog-gorelease
Browse files Browse the repository at this point in the history
Add gorelease.yml copied by terraform-scaffold
  • Loading branch information
KeisukeYamashita authored Jul 17, 2020
2 parents 9e84ab5 + 2845875 commit 686fa3a
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Copied from https://github.com/hashicorp/terraform-provider-scaffolding/blob/master/.goreleaser.yml
# as suggested at https://www.terraform.io/docs/registry/providers/publishing.html#using-goreleaser-locally
#
# Visit https://goreleaser.com for documentation on how to customize this
# behavior.
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- freebsd
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
signs:
- artifacts: checksum
args:
# if you are using this is a GitHub action or some other automated pipeline, you
# need to pass the batch flag to indicate its not interactive.
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
release:
# Visit your project's GitHub Releases page to publish this release.
draft: true
changelog:
skip: true
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## 0.2.0 (Unreleased)
### Improvements

* Added `cloud_providers`, `instance_port` to `spinnaker_applicaiton` resource (https://github.com/mercari/terraform-provider-spinnaker/pull/12)
* Added data resources for these resources (https://github.com/mercari/terraform-provider-spinnaker/pull/12)
* `spinnaker_application`
* `spinnaker_pipeline`

### Breaking changes

* Removed `spinnaker_pipeline_template_config` resources.

## 0.1.0 (March 23th, 2020)

* Released the forked [armory-io/terraform-provider-spinnaker](https://github.com/armory-io/terraform-provider-spinnaker) as `0.1.0`

0 comments on commit 686fa3a

Please sign in to comment.