Skip to content

Commit

Permalink
v0.4.0 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
ningenMe committed Dec 18, 2021
1 parent 03781c1 commit 7daa435
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
# Change Log

This project adheres to [Semantic Versioning](http://semver.org/).
If you release new version, please update `version` variable in pkg/version/service.go too

## Unreleased

## Changed

### v0.4.0

- add `tree` subcommand

### v0.3.0

- convert neovenetia into neovenezia

### v0.2.0

- add `version` subcommand

### v0.1.0

- create base setup
4 changes: 2 additions & 2 deletions pkg/service/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (

// if you update version, please update CHANGELOG too.
func getVersion() string {
return "v0.3.0"
return "v0.4.0"
}

func ExecVersion() {
var message string = "Neovenezia " + getVersion()
message := "Neovenezia " + getVersion()
repository.PrintOne(message)
}
4 changes: 2 additions & 2 deletions pkg/service/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
func TestGetVersion(t *testing.T) {
t.Run("", func(t *testing.T) {
actual := getVersion()
expect := "v0.3.0"
expect := "v0.4.0"
assert.Equal(t, actual, expect)
})
}

func ExampleExec() {
ExecVersion()
// Output: Neovenezia v0.3.0
// Output: Neovenezia v0.4.0
}

0 comments on commit 7daa435

Please sign in to comment.