Skip to content

Commit

Permalink
Merge pull request #19 from Lingrino/releaseci
Browse files Browse the repository at this point in the history
Releaseci
  • Loading branch information
lingrino authored Jun 3, 2018
2 parents 42fea56 + 7824468 commit ee33151
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,35 @@ jobs:
- run:
name: Run Tests
command: go test -cover -v ./...
deploy:
docker:
- image: circleci/golang:1.10.1
working_directory: /go/src/github.com/Lingrino/vaku
steps:
- checkout
- run:
name: Install dep
command: go get -u github.com/golang/dep/cmd/dep
- run:
name: Get Packages
command: dep ensure
- run:
name: Build and deploy a new version
command: curl -sL https://git.io/goreleaser | bash

workflows:
version: 2
build-and-deploy:
jobs:
- build:
filters:
tags:
only: /.*/
- deploy:
requires:
- build
filters:
tags:
only: /v[0-9]+(\.[0-9]+)*(-.*)*/
branches:
ignore: /.*/
7 changes: 6 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ builds:
- linux
goarch:
- amd64

changelog:
sort: asc
filters:
exclude:
- Merge pull request
- Merge branch
git:
short_hash: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Useful functions in Go for Hashicorp Vault.
Please read the [godoc documentation](https://godoc.org/github.com/Lingrino/vaku/vaku)
for all API usage information and examples.

Please call `vaku help` in your terminal for all documentation and usage information
Please use `vaku help` in your terminal for all documentation and usage information
regarding the Vaku CLI

Vaku is now V1. The API and CLI will be backwards compatible until the next point release.
Expand Down

0 comments on commit ee33151

Please sign in to comment.