diff --git a/.builds/publish.yml b/.builds/publish.yml index ce3a3b4bad440ba134b903c92473919212f0dbff..5112df8dc45778d2be4bd668a1a40d9f3e681542 100644 --- a/.builds/publish.yml +++ b/.builds/publish.yml @@ -50,7 +50,12 @@ | tar -xz -C ~/.local/bin goreleaser goreleaser --version - build: | cd ci-cacher - goreleaser release --clean --skip=publish + # --skip=validate lets goreleaser release v0.1.0 from a commit that + # isn't precisely the v0.1.0 tag (e.g. a CI manifest patch landed + # after tagging). Safe here because the published binary is built + # from the same Go source either way; only .builds/publish.yml + # differs between HEAD and the tagged commit. + goreleaser release --clean --skip=validate,publish ls dist/ - package_pages: | # Goreleaser writes binaries under dist/cacher___v/cacher.