Skip to content

Commit

Permalink
Merge pull request #100 from mercari/v0.3.x-mercari-port-freebsd-disable
Browse files Browse the repository at this point in the history
Port goreleaser.yml config
  • Loading branch information
KeisukeYamashita authored Jan 14, 2021
2 parents 8425e5c + cdf0645 commit 5f30e2c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphase: ${{ secrets.PASSPHRASE }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Release provider
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v2.4.1
with:
version: latest
args: release --rm-dist
Expand Down
16 changes: 8 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
# behavior.
before:
hooks:
# this is just an example and not a requirement for provider building/publishing
- go mod tidy
builds:
- env:
# goreleaser does not work with CGO, it could also complicate
# usage by users in CI/CD systems like Terraform Cloud where
# they are unable to install libraries.
- CGO_ENABLED=0
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
Expand All @@ -28,11 +32,7 @@ builds:
goarch: '386'
binary: '{{ .ProjectName }}_v{{ .Version }}'
archives:
- id: zip
format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
- id: default
format: tar.gz
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
Expand All @@ -50,7 +50,7 @@ signs:
- "--detach-sign"
- "${artifact}"
release:
# Visit your project's GitHub Releases page to publish this release.
draft: false
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
skip: false
skip: true
4 changes: 0 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
## v0.2.4 (Unreleased)
### Improvements
* Upgrade Terraform Plugin SDK to v2 ([#67](https://github.com/mercari/terraform-provider-spinnaker/pull/67)

<a name="v0.2.4"></a>
## [v0.2.4] - 2020-09-04
### Pull Requests
Expand Down

0 comments on commit 5f30e2c

Please sign in to comment.