From d34b911532601744a7b6a6973a94eb6baffa83f0 Mon Sep 17 00:00:00 2001
From: KeisukeYamashita <19yamashita15@gmail.com>
Date: Thu, 3 Sep 2020 11:10:25 +0900
Subject: [PATCH 1/3] Merge pull request #69 from mercari/fix-artifact-output
Fix broken zip output by goreleaser
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
---
.goreleaser.yml | 16 ++++++++--------
CHANGELOG.md | 4 ----
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/.goreleaser.yml b/.goreleaser.yml
index a7be5ce..7800e42 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -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:
@@ -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'
@@ -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
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2574555..ef3676e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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)
-
## [v0.2.4] - 2020-09-04
### Pull Requests
From 343a58f0cdbf1e2cdbc041d24436e248d84c51e1 Mon Sep 17 00:00:00 2001
From: KeisukeYamashita <19yamashita15@gmail.com>
Date: Thu, 14 Jan 2021 12:06:13 +0900
Subject: [PATCH 2/3] Fix typo passphase to passphrase
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
---
.github/workflows/release-provider.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-provider.yml b/.github/workflows/release-provider.yml
index c8164f0..2f15373 100644
--- a/.github/workflows/release-provider.yml
+++ b/.github/workflows/release-provider.yml
@@ -50,7 +50,7 @@ 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
with:
From cdf064585b2df9be48d3248612ff6997c7ae846d Mon Sep 17 00:00:00 2001
From: KeisukeYamashita <19yamashita15@gmail.com>
Date: Thu, 14 Jan 2021 14:34:09 +0900
Subject: [PATCH 3/3] Update .github/workflows/release-provider.yml
Co-authored-by: Ryuzo Yamamoto
---
.github/workflows/release-provider.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/release-provider.yml b/.github/workflows/release-provider.yml
index 2f15373..c2cdb8d 100644
--- a/.github/workflows/release-provider.yml
+++ b/.github/workflows/release-provider.yml
@@ -52,7 +52,7 @@ jobs:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
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