Skip to content

Commit

Permalink
Merge pull request #19 from nao1215/add_version_info
Browse files Browse the repository at this point in the history
Add version info
  • Loading branch information
nao1215 authored Mar 5, 2022
2 parents 46bc8cd + 0d7586f commit 154e57e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# [0.7.1] - 2022-03-05
# [0.7.2] - 2022-03-05
## Changed
- When the update is completed, the version information before and after the update will be output.
- Changed to output version information in dry run mode.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[![Build](https://github.com/nao1215/gup/actions/workflows/build.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/build.yml)
[![UnitTest](https://github.com/nao1215/gup/actions/workflows/unit_test.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/unit_test.yml)
[![reviewdog](https://github.com/nao1215/gup/actions/workflows/reviewdog.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/reviewdog.yml)
[![reviewdog](https://github.com/nao1215/gup/actions/workflows/reviewdog.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/reviewdog.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/nao1215/gup)](https://goreportcard.com/report/github.com/nao1215/gup)
![GitHub](https://img.shields.io/github/license/nao1215/gup)
[[日本語](./doc/ja/README.md)]
# gup - Update binaries installed by "go install"
**gup** command update binaries installed by "go install" to the latest version. It also provides subcommands for manipulating binaries under \$GOPATH/bin (\$GOBIN).
Expand Down
2 changes: 1 addition & 1 deletion cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var updateCmd = &cobra.Command{
Long: `Update binaries installed by 'go install'
If you execute '$ gup update', gup gets the package path of all commands
under $GOPATH/bin and automatically updates commans to the latest version.`,
under $GOPATH/bin and automatically updates commands to the latest version.`,
Run: func(cmd *cobra.Command, args []string) {
os.Exit(gup(cmd, args))
},
Expand Down

0 comments on commit 154e57e

Please sign in to comment.