Publish Go Packages with Goreleaser

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • mytool

  • release: github: owner: justdamilare name: mytool before: hooks: - go mod tidy - go generate ./... builds: - env: - GO_VERSION=1.19 goos: - linux - windows - darwin # replaces architecture naming in the archive name archives: - replacements: darwin: Darwin linux: Linux windows: Windows 386: i386 amd64: x86_64 format_overrides: - goos: windows format: zip checksum: name_template: 'checksums.txt' snapshot: name_template: "{{ incpatch .Version }}-next" changelog: sort: asc filters: exclude: - '^docs:' - '^test:' # upload binaries to gcloud bucket called `mytool` blobs: - provider: gs bucket: mytool folder: "{{ .Version }}" # generate homebrew-tap brews: - name: justdamilare tap: owner: mytool name: homebrew-tap folder: Formula homepage: https://github.com/justdamilare/mytool description: A simple go project # use custom download strategy in case the Github repository is private download_strategy: GitHubPrivateRepositoryReleaseDownloadStrategy custom_require: "../custom_download_strategy" test: | system "#{bin}/mytool" install: | bin.install "mytool"

  • goreleaser

    Deliver Go binaries as fast and easily as possible

  • Goreleaser is awesome. It's a simple tool that allows you to release your go packages. Recently, my team and I used it with a company wide CLI tool that we built.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • HomeBrew

    🍺 The missing package manager for macOS (or Linux)

  • Or we use the popular homebrew package manager for macOS and Linux with:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts