Skip to content

Commit

Permalink
Use GoReleaser for release automation (#1)
Browse files Browse the repository at this point in the history
* Update readme

* Add goreleaser
  • Loading branch information
vaishakhbn committed May 24, 2022
1 parent 95704c4 commit e3904fd
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 52 deletions.
29 changes: 29 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
env:
- CGO_ENABLED=0

before:
hooks:
- go mod tidy
builds:
- goos:
- linux
- windows
- darwin
binary: ./vault/plugins/vault-plugin-secrets-datastax-astra
main: ./cmd/vault-plugin-secrets-datastax-astra/main.go
release:
draft: true
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This Hashi Vault plugin provides for token lifecycle management for DataStax Ast

- [Golang](https://go.dev/doc/install) must be installed.

- You must have an Astra Account
- You must have an Astra Account.

- You must have admin access to an Astra organization .

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ go 1.17

require (
github.com/datastax/astra-client-go/v2 v2.2.24
github.com/google/uuid v1.3.0
github.com/hashicorp/go-hclog v1.2.0
github.com/hashicorp/vault/api v1.4.1
github.com/hashicorp/vault/sdk v0.4.1
Expand All @@ -19,6 +18,7 @@ require (
github.com/fatih/color v1.13.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
Expand Down

0 comments on commit e3904fd

Please sign in to comment.