Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.

Commit

Permalink
Use GoReleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
talal committed Dec 25, 2019
1 parent b507145 commit 28eec2e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
env_files:
github_token: ~/.config/goreleaser/github_token
before:
hooks:
- make clean
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- linux
goarch:
- amd64
ldflags:
- -s -w -X main.version={{ replace .Version "v" "" }}
archives:
- name_template: '{{ .ProjectName }}-{{ replace .Version "v" "" }}-{{ .Os }}-{{ .Arch }}'
files:
- LICENSE
- README.md
- CHANGELOG.md
- docs/*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: true
brews:
- name: bonclay
github:
owner: talal
name: homebrew-tap
folder: Formula
homepage: "https://github.com/talal/bonclay"
description: "A fast and minimal backup tool"
install: bin.install "bonclay"
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## v1.1.1 - 2019-12-25
### Changed
- Switch back to using [Kingpin](https://github.com/alecthomas/kingpin) for
command-line parsing.
Expand Down

0 comments on commit 28eec2e

Please sign in to comment.