Skip to content

Commit

Permalink
feat: support goreleaser 2.x (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Sep 25, 2024
1 parent f070b32 commit 9ed448f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG GO_VERSION=1.22
# NOTE: when changing version here, make sure to also change OSX_CODENAME below to match
ARG OSX_SDK=MacOSX11.3.sdk

# To get the SHA sum do:
# To get the SHA sum do:8056533314010954413
# wget https://s3.dockerproject.org/darwin/v2/${OSX_SDK}.tar.xz
#
# We no longer use this.
Expand Down Expand Up @@ -113,7 +113,7 @@ RUN apt-get install -y \
musl-tools
RUN rm -rf /var/lib/apt/lists/*

ARG GORELEASER_VERSION=1.23.0
ARG GORELEASER_VERSION=2.3.2

RUN curl -LO https://github.com/goreleaser/goreleaser/releases/download/v${GORELEASER_VERSION}/goreleaser_Linux_x86_64.tar.gz \
&& mkdir -p goreleaser_Linux_x86_64 \
Expand Down
4 changes: 3 additions & 1 deletion build.tmpl.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

variables:
brew_name: ""
brew_description: ""
Expand Down Expand Up @@ -346,7 +348,7 @@ archives:
{{- if .Arm }}v{{ .Arm }}{{ end }}
snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"

changelog:
sort: asc
Expand Down

0 comments on commit 9ed448f

Please sign in to comment.