Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 10ea38d

Browse files
committed
Add goreleases
1 parent bfca70b commit 10ea38d

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ fuzzit
1515

1616
# Goland
1717
.idea
18+
19+
# Goreleases
20+
dist/

.goreleaser.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This is an example goreleaser.yaml file with some sane defaults.
2+
# Make sure to check the documentation at http://goreleaser.com
3+
before:
4+
hooks:
5+
# you may remove this if you don't use vgo
6+
- go mod download
7+
# you may remove this if you don't need go generate
8+
- go generate ./...
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
- GO111MODULE=on
13+
main: ./cmd/fuzzit
14+
archives:
15+
- replacements:
16+
darwin: Darwin
17+
linux: Linux
18+
windows: Windows
19+
386: i386
20+
amd64: x86_64
21+
goos:
22+
- windows
23+
- linux
24+
- darwin
25+
checksum:
26+
name_template: 'checksums.txt'
27+
snapshot:
28+
name_template: "{{ .Tag }}-next"
29+
changelog:
30+
sort: asc
31+
filters:
32+
exclude:
33+
- '^docs:'
34+
- '^test:'

cmd/fuzzit/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package main
22

3-
import "C"
43
import (
54
"encoding/json"
65
"gopkg.in/urfave/cli.v1"
@@ -50,7 +49,7 @@ func main() {
5049
app.EnableBashCompletion = true
5150
app.Name = "Fuzzit"
5251
app.Usage = "Continuous fuzzing made simple"
53-
app.Version = "1.2.1"
52+
app.Version = "1.2.2"
5453
app.Compiled = time.Now()
5554
app.Authors = []cli.Author{
5655
cli.Author{

0 commit comments

Comments
 (0)