CICD: release needs stringer (#2721)

This commit is contained in:
Tom Limoncelli 2023-12-13 14:15:35 -05:00 committed by GitHub
parent 8b1739e632
commit 0da3f75729
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,11 @@ jobs:
with:
go-version: ^1.21
# Stringer is needed because .goreleaser includes "go generate ./..."
- name: Install stringer
run: |
go install golang.org/x/tools/cmd/stringer@latest
# For some reason goreleaser isn't correctly setting the version
# string used by "dnscontrol version". Therefore, we're forcing the
# string using the GORELEASER_CURRENT_TAG feature.