Skip to content

Commit

Permalink
fix version grab and readme stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwelin committed Mar 18, 2023
1 parent fe6805f commit 531a84a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<p align="center">
<a href="https://goreportcard.com/report/github.com/rogerwelin/cfnctl"><img src="https://goreportcard.com/badge/github.com/rogerwelin/cfnctl?style=for-the-badge&logo=go" alt="Go Report Card"></a>
<a href="https://github.com/rogerwelin/cfnctl/blob/master/go.mod"><img src="https://img.shields.io/github/go-mod/go-version/rogerwelin/cfnctl?style=for-the-badge&logo=go" alt="Go version"></a>
<a href="https://github.com/rogerwelin/cfnctl/releases"><img src="https://img.shields.io/github/v/release/rogerwelin/cfnctl?style=for-the-badge&logo=github&color=orange" alt="Current Release"></a>
<a href="https://github.com/rogerwelin/cfnctl/blob/master/LICENSE"><img src="https://img.shields.io/badge/LICENSE-AL2-orange?style=for-the-badge" alt="License"></a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion commands/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/hashicorp/go-version"
)

var latestVersion = "https://api.github.com/repos/rogerwelin/cassowary/releases/latest"
var latestVersion = "https://api.github.com/repos/rogerwelin/cfnctl/releases/latest"

type githubRelease struct {
TagName string `json:"tag_name"`
Expand Down

0 comments on commit 531a84a

Please sign in to comment.