this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

internal/ci: update goreleaser version

snapshot.name_template is now deprecated in favor of a better name.
Add a version field as well, to silence a warning found in CI:

only configurations files on version: 2 are supported, yours is version: 0, please update your configuration

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Ib3414d3a18c82bf7eee86326ecf4b6e24014a1ee
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199546
Reviewed-by: Matthew Sackman <matthew@cue.works>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>

+4 -3
+1 -1
.github/workflows/release.yml
··· 74 74 uses: goreleaser/goreleaser-action@v5 75 75 with: 76 76 install-only: true 77 - version: v2.0.1 77 + version: v2.2.0 78 78 - name: Run GoReleaser with CUE 79 79 run: cue cmd release 80 80 working-directory: ./internal/ci/goreleaser
+2 -1
internal/ci/goreleaser/goreleaser.cue
··· 3 3 config: { 4 4 #latest: bool @tag(latest, type=bool) 5 5 6 + version: 2 6 7 project_name: "cue" 7 8 // Note that gomod.proxy is ignored by `goreleaser release --snapshot`, 8 9 // which we use in CI to test the goreleaser config and build, ··· 68 69 draft: true 69 70 } 70 71 checksum: name_template: "checksums.txt" 71 - snapshot: name_template: "{{ .Tag }}-next" 72 + snapshot: version_template: "{{ .Tag }}-next" 72 73 // As explained above, we write our own release notes. 73 74 changelog: disable: true 74 75
+1 -1
internal/ci/repo/repo.cue
··· 42 42 // so we instead pin a specific Go release. 43 43 pinnedReleaseGo: "1.23.0" 44 44 45 - goreleaserVersion: "v2.0.1" 45 + goreleaserVersion: "v2.2.0" 46 46 47 47 // zeroReleaseTagSuffix is the suffix used to identify all "zero" releases. 48 48 // When we create a release branch for v0.$X.0, it's likely that commits on the