Skip to content

Commit

Permalink
Add goreleaser configuration and changelog file
Browse files Browse the repository at this point in the history
  • Loading branch information
aperezg committed Apr 21, 2019
1 parent 5fb087f commit 6ed3d56
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ jobs:
- checkout
- run: make coverage
- run: bash <(curl -s https://codecov.io/bash)
release:
docker:
- image: circleci/golang:latest
steps:
- checkout
- run: curl -sL https://git.io/goreleaser | bash
workflows:
version: 2
build_and_test:
Expand All @@ -40,3 +46,9 @@ workflows:
- build-go1_12_1
- build-go_latest
- coverage
- release:
filters:
branches:
ignore: /.*/
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
52 changes: 52 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
before:
hooks:
- go mod download
builds:
-
main: ./cmd/killgrave/main.go
ldflags:
- -s -w -X main.version={{.Version}}
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- freebsd
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ignore:
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: arm64
archives:
-
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- CHANGELOG.md
brew:
name: killgrave
github:
owner: friendsofgo
name: homebrew-tap
folder: Formula
description: |
Simple way to generate fake servers
checksum:
name_template: 'checksums.txt'
changelog:
skip: true
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

## v0.1.0 (2019/04/21)

* Add Killgrave logo
* Add CircleCI integration
* Convert headers into canonical mime type
* Run server with imposter configuration
* Processing and parsing imposters file
* Initial version
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![codecov](https://codecov.io/gh/friendsofgo/killgrave/branch/master/graph/badge.svg)](https://codecov.io/gh/friendsofgo/killgrave)
[![Go Report Card](https://goreportcard.com/badge/github.com/friendsofgo/killgrave)](https://goreportcard.com/report/github.com/friendsofgo/killgrave)
[![GoDoc](https://godoc.org/graphql.co/graphql?status.svg)](https://godoc.org/github.com/friendsofgo/killgrave)
[![FriendsOfGo](https://img.shields.io/badge/powered%20by-Friends%20of%20Go-73D7E2.svg)](https://img.shields.io/badge/powered%20by-Friends%20of%20Go-73D7E2.svg)

<p align="center">
<img src="https://res.cloudinary.com/fogo/image/upload/c_scale,w_350/v1555701634/fogo/projects/gopher-killgrave.png" alt="Golang Killgrave"/>
Expand Down

0 comments on commit 6ed3d56

Please sign in to comment.