Skip to content

Commit

Permalink
Merge pull request #7 from dkleuser/feature-add-goreleaser
Browse files Browse the repository at this point in the history
Feature: Add goreleaser configuration
  • Loading branch information
andygrunwald authored Oct 11, 2017
2 parents 6b5e8f4 + e97e357 commit b1605f5
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 52 deletions.
45 changes: 45 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
project_name: jitic
builds:
- goos:
- linux
- darwin
- freebsd
- windows
goarch:
- amd64
- 386
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: jitic
archive:
format: tar.gz
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
wrap_in_directory: true
replacements:
386: i386
amd64: x86_64
linux: Linux
windows: Windows
darwin: Darwin
freebsd: FreeBSD
format_overrides:
- goos: windows
format: zip
files:
- licence*
- LICENCE*
- license*
- LICENSE*
- readme*
- README*
- changelog*
- CHANGELOG*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

const (
// Version of jitic
Version = "0.2.1"
Version = "0.2.2"
)

var (
Expand Down
51 changes: 0 additions & 51 deletions scripts/build-release

This file was deleted.

0 comments on commit b1605f5

Please sign in to comment.