Our great sponsors
-
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.
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 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.
Or we use the popular homebrew package manager for macOS and Linux with:
Related posts
- How do I install NodeJS LTS?
- Create Homebrew Taps for Private GitHub Repos
- Some questions about Ruby
- Homebrew and Private GitHub Repositories
- Trying to install node.js on a Macbook OS X El Capitan but having issues with installation. Getting errors via terminal when trying to install using https://github.com/nvm-sh/nvm. Any idea on how to troubleshoot this?