Skip to content

Commit

Permalink
Merge pull request #18 from duplocloud/release/0.5.3
Browse files Browse the repository at this point in the history
Release v0.5.3
  • Loading branch information
bennett-elder authored Apr 5, 2023
2 parents aab1e23 + bfd85ee commit 5786ef2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,23 @@ announce:
channel: '#duplo-devs'
release:
draft: false
brews:
- name: duplo-jit
goarm: 6
goamd64: v1
tap:
owner: duplocloud
name: homebrew-tap
branch: main
token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
url_template: "https://github.com/duplocloud/duplo-jit/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: duplo-bot
email: [email protected]
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
folder: Formula
homepage: "https://github.com/duplocloud/duplo-jit"
description: "Command-line tools for JIT Duplo, AWS and Kubernetes access"
license: "MIT"
test: |
system "duplo-jit version"
23 changes: 23 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
LICENSE

MIT License

Copyright © 2022 DuploCloud, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.5.2
VERSION=0.5.3

default: all

Expand Down
2 changes: 1 addition & 1 deletion internal/duplo.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type DuploCredsOutput struct {
func duploClientAndOtpFlag(host, token, otp string, admin bool) (*duplocloud.Client, bool) {
client, err := duplocloud.NewClientWithOtp(host, token, otp)
DieIf(err, "invalid arguments")
features, err := client.FeaturesSystem()
features, err := client.FeaturesSystem() // this API call is doubling as a system "ping"

// Is the token invalid?
if err != nil {
Expand Down

0 comments on commit 5786ef2

Please sign in to comment.