mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-29 21:47:01 +02:00
The check to skip Scoop releases when SCM ones are disabled seems to be the only place where this is happening and in conflict to Brew releases. These two need not be linked as users can configure the `url_template` to point elsewhere. --- Consider the following use case: ``` * goreleaser/my-app.yml - builds: spec for building a Go binary for my-app - dockers: spec for packaging my-app in a container and pushing to Artifactory & GCP - archives: spec for zipping up my-app binary - artifactories: spec for pushing archives of my-app to a private jfrog artifactory - brews: spec for publishing my-app through brew on macOS with URLs from artifactory - scoop: spec for publishing my-app through scoop on Windows with URLs from artifactory - release: disabled SCM (e.g. GitHub) release ``` Running `goreleaser release -f goreleaser/my-app.yml` with the above setup results in the correct artifacts (archives & containers) being published to Artifactory, GCP, Brew, but no Scoop. Given that Scoop's `skip_upload` cannot be templated in 1.18 and I do not wish to have SCM releases & tags on every release, one can be rather stuck.