github.com/goreleaser/goreleaser@v1.25.1/www/docs/cookbooks/release-a-library.md (about)

     1  # Release a library
     2  
     3  Maybe you don't want to actually release binaries, but just generate a changelog and whatnot for your Go libraries? GoReleaser has you covered!
     4  
     5  All you need is to add `skip: true` to the build config:
     6  
     7  ```yaml
     8  builds:
     9  - skip: true
    10  ```