From 00a2f32675d61fcbb702c4a9b0a5e7aae96add74 Mon Sep 17 00:00:00 2001 From: Maxence Maireaux Date: Wed, 13 Dec 2023 11:10:45 +0100 Subject: [PATCH] chore: Update GoReleaser --- .goreleaser.default.yaml | 10 ---------- components/fctl/.goreleaser.yml | 8 ++++++++ components/ledger/.goreleaser.yml | 8 ++++++++ components/operator/.goreleaser.yml | 11 +++++++---- components/payments/.goreleaser.yml | 8 ++++++++ ee/agent/.goreleaser.yml | 8 ++++++++ ee/auth/.goreleaser.yml | 10 ++++++++++ ee/gateway/.goreleaser.yml | 8 ++++++++ ee/orchestration/.goreleaser.yml | 9 +++++++++ ee/reconciliation/.goreleaser.yml | 9 +++++++++ ee/search/.goreleaser.yml | 9 +++++++++ ee/stargate/.goreleaser.yml | 7 +++++++ ee/wallets/.goreleaser.yml | 9 +++++++++ ee/webhooks/.goreleaser.yml | 9 +++++++++ 14 files changed, 109 insertions(+), 14 deletions(-) diff --git a/.goreleaser.default.yaml b/.goreleaser.default.yaml index 6728a6ba76..6bf1518790 100644 --- a/.goreleaser.default.yaml +++ b/.goreleaser.default.yaml @@ -30,16 +30,6 @@ changelog: - title: Other work order: 999 -release: - prerelease: auto - extra_files: - - glob: openapi.yaml - footer: | - ## What to do next? - - Read the [documentation](https://docs.formance.com/) - - Join our [Slack server](https://formance.com/slack) - - dockers: - image_templates: ["ghcr.io/formancehq/{{ .ProjectName }}:{{ if not .IsNightly }}v{{ end }}{{ .Version }}-amd64"] goarch: amd64 diff --git a/components/fctl/.goreleaser.yml b/components/fctl/.goreleaser.yml index 8f6adfe6e6..8e2b73ea1b 100644 --- a/components/fctl/.goreleaser.yml +++ b/components/fctl/.goreleaser.yml @@ -58,3 +58,11 @@ brews: bash_completion.install "completions/fctl.bash" => "fctl" zsh_completion.install "completions/fctl.zsh" => "_fctl" fish_completion.install "completions/fctl.fish" + + +release: + prerelease: auto + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/components/ledger/.goreleaser.yml b/components/ledger/.goreleaser.yml index 01fbc95c32..4e18acdaad 100644 --- a/components/ledger/.goreleaser.yml +++ b/components/ledger/.goreleaser.yml @@ -24,6 +24,14 @@ builds: - amd64 - arm64 +release: + prerelease: auto + extra_files: + - glob: openapi.yaml + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) archives: - id: "{{.ProjectName}}" diff --git a/components/operator/.goreleaser.yml b/components/operator/.goreleaser.yml index a1cc709ee6..9c160b38e1 100644 --- a/components/operator/.goreleaser.yml +++ b/components/operator/.goreleaser.yml @@ -30,7 +30,10 @@ archives: format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" -#after: -# hooks: -# - cmd: make helm-update -# dir: ./ + +release: + prerelease: auto + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/components/payments/.goreleaser.yml b/components/payments/.goreleaser.yml index ff2539f0ff..f8e3edce6f 100644 --- a/components/payments/.goreleaser.yml +++ b/components/payments/.goreleaser.yml @@ -28,3 +28,11 @@ archives: - payments format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + + +release: + prerelease: auto + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/agent/.goreleaser.yml b/ee/agent/.goreleaser.yml index addfae3c18..a5437b72e5 100644 --- a/ee/agent/.goreleaser.yml +++ b/ee/agent/.goreleaser.yml @@ -28,3 +28,11 @@ archives: - agent format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + + +release: + prerelease: auto + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/auth/.goreleaser.yml b/ee/auth/.goreleaser.yml index 04f322d519..b22c751b42 100644 --- a/ee/auth/.goreleaser.yml +++ b/ee/auth/.goreleaser.yml @@ -28,3 +28,13 @@ archives: - auth format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + + +release: + prerelease: auto + extra_files: + - glob: openapi.yaml + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/gateway/.goreleaser.yml b/ee/gateway/.goreleaser.yml index 31ca8ab94c..3b04d07d0c 100644 --- a/ee/gateway/.goreleaser.yml +++ b/ee/gateway/.goreleaser.yml @@ -28,3 +28,11 @@ archives: - gateway format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + + +release: + prerelease: auto + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/orchestration/.goreleaser.yml b/ee/orchestration/.goreleaser.yml index 5d2e252a90..ef1a338979 100644 --- a/ee/orchestration/.goreleaser.yml +++ b/ee/orchestration/.goreleaser.yml @@ -28,3 +28,12 @@ archives: - orchestration format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + +release: + prerelease: auto + extra_files: + - glob: openapi.yaml + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/reconciliation/.goreleaser.yml b/ee/reconciliation/.goreleaser.yml index 6794fe9488..de9c921b1b 100644 --- a/ee/reconciliation/.goreleaser.yml +++ b/ee/reconciliation/.goreleaser.yml @@ -28,3 +28,12 @@ archives: - reconciliation format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + +release: + prerelease: auto + extra_files: + - glob: openapi.yaml + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/search/.goreleaser.yml b/ee/search/.goreleaser.yml index 62b6668c21..6a5d118e04 100644 --- a/ee/search/.goreleaser.yml +++ b/ee/search/.goreleaser.yml @@ -28,3 +28,12 @@ archives: - search format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + +release: + prerelease: auto + extra_files: + - glob: openapi.yaml + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/stargate/.goreleaser.yml b/ee/stargate/.goreleaser.yml index f788b71706..444fd921e1 100644 --- a/ee/stargate/.goreleaser.yml +++ b/ee/stargate/.goreleaser.yml @@ -28,3 +28,10 @@ archives: - stargate format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + +release: + prerelease: auto + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/wallets/.goreleaser.yml b/ee/wallets/.goreleaser.yml index 4cf7889579..0850c52771 100644 --- a/ee/wallets/.goreleaser.yml +++ b/ee/wallets/.goreleaser.yml @@ -28,3 +28,12 @@ archives: - wallets format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + +release: + prerelease: auto + extra_files: + - glob: openapi.yaml + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file diff --git a/ee/webhooks/.goreleaser.yml b/ee/webhooks/.goreleaser.yml index 138d680e2d..fa2cecbc51 100644 --- a/ee/webhooks/.goreleaser.yml +++ b/ee/webhooks/.goreleaser.yml @@ -28,3 +28,12 @@ archives: - webhooks format: tar.gz name_template: "{{.ProjectName}}_{{.Os}}-{{.Arch}}" + +release: + prerelease: auto + extra_files: + - glob: openapi.yaml + footer: | + ## What to do next? + - Read the [documentation](https://docs.formance.com/) + - Join our [Slack server](https://formance.com/slack) \ No newline at end of file