Skip to content

Commit

Permalink
Bump Go version to unblock mod tidy (#470)
Browse files Browse the repository at this point in the history
* Bump Go version to unblock mod tidy

* fix: Remove deprecated goreleaser replacements field

Goreleaser v1.19 removes the deprecated replacements field. This commit uses
conditional logic in the name_template field to handle this.
https://goreleaser.com/deprecations/#archivesreplacements

* Unknown reason for failure in stable_build_test - try waiting longer for stack to come up

---------

Co-authored-by: Ramon Quitales <[email protected]>
  • Loading branch information
thomas11 and rquitales authored Jul 18, 2023
1 parent da76f15 commit 8d567f4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 85 deletions.
10 changes: 6 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ builds:
binary: pulumi-kubernetes-operator

archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
linux: Linux
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{ title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
files:
- none*
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pulumi/pulumi-kubernetes-operator

go 1.17
go 1.19

require (
github.com/cespare/xxhash/v2 v2.1.2 // indirect
Expand Down
Loading

0 comments on commit 8d567f4

Please sign in to comment.