1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

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

View File

@ -44,6 +44,11 @@ jobs:
with: with:
go-version: ^1.21 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 # For some reason goreleaser isn't correctly setting the version
# string used by "dnscontrol version". Therefore, we're forcing the # string used by "dnscontrol version". Therefore, we're forcing the
# string using the GORELEASER_CURRENT_TAG feature. # string using the GORELEASER_CURRENT_TAG feature.