From 3865c3c22ffba07f6c80a02af172ff22549f6443 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 19:08:09 +0400 Subject: [PATCH] chore(deps): bump github.com/obalunenko/version from 1.1.0 to 1.2.0 (#302) Bumps [github.com/obalunenko/version](https://github.com/obalunenko/version) from 1.1.0 to 1.2.0. - [Release notes](https://github.com/obalunenko/version/releases) - [Commits](https://github.com/obalunenko/version/compare/v1.1.0...v1.2.0) --- updated-dependencies: - dependency-name: github.com/obalunenko/version dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/obalunenko/version/version.go | 6 ++++++ vendor/modules.txt | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index d57b8901..7295d944 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/manifoldco/promptui v0.9.0 github.com/obalunenko/getenv v1.13.0 github.com/obalunenko/logger v1.1.0 - github.com/obalunenko/version v1.1.0 + github.com/obalunenko/version v1.2.0 github.com/savioxavier/termlink v1.3.0 github.com/stretchr/testify v1.8.4 github.com/urfave/cli/v2 v2.27.1 diff --git a/go.sum b/go.sum index ef810c5a..7000ae5a 100644 --- a/go.sum +++ b/go.sum @@ -23,8 +23,8 @@ github.com/obalunenko/getenv v1.13.0 h1:KE6Kky3OMLkvOgzfZkaOjodnnMawhEEuju4Hbs7D github.com/obalunenko/getenv v1.13.0/go.mod h1:z/14VQJlEBeaa/JI/RNufa/EQOSDVA2RRUz56ukYOM0= github.com/obalunenko/logger v1.1.0 h1:Q5drJuCuwz16mm96tcrl5e20uoGSOI4O+VWSauR/mQg= github.com/obalunenko/logger v1.1.0/go.mod h1:rS66dO9P2j/lybFrDB0Sce1DEVaOi6ag6WDIzljTg8c= -github.com/obalunenko/version v1.1.0 h1:yVua7OHnK3+MJpendeMmAlfzVmq7R1h8MO3Ufz7HEec= -github.com/obalunenko/version v1.1.0/go.mod h1:Or267aCQxNcAtgOeWA7yOe/RqJS4XDaMfcFwk3ohbOg= +github.com/obalunenko/version v1.2.0 h1:eUYme2w38fjzcvToInTGM85xAJycZHo65GvynbH8jCo= +github.com/obalunenko/version v1.2.0/go.mod h1:kXnCfV2LUe+UHRrzjwPC/5lpnPbypwmLZh7BJx7wG1A= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= diff --git a/vendor/github.com/obalunenko/version/version.go b/vendor/github.com/obalunenko/version/version.go index ee2beff2..936ce913 100644 --- a/vendor/github.com/obalunenko/version/version.go +++ b/vendor/github.com/obalunenko/version/version.go @@ -40,26 +40,32 @@ var ( // build info goversion = unset ) +// GetGoVersion returns the go version func GetGoVersion() string { return goversion } +// GetVersion returns the app version func GetVersion() string { return version } +// GetBuildDate returns the build date func GetBuildDate() string { return builddate } +// GetCommit returns the git commit func GetCommit() string { return commit } +// GetAppName returns the app name func GetAppName() string { return appname } +// GetShortCommit returns the short git commit func GetShortCommit() string { return shortcommit } diff --git a/vendor/modules.txt b/vendor/modules.txt index 8adf3249..e6e465d1 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -32,8 +32,8 @@ github.com/obalunenko/getenv/option # github.com/obalunenko/logger v1.1.0 ## explicit; go 1.22 github.com/obalunenko/logger -# github.com/obalunenko/version v1.1.0 -## explicit; go 1.17 +# github.com/obalunenko/version v1.2.0 +## explicit; go 1.22 github.com/obalunenko/version # github.com/pmezard/go-difflib v1.0.0 ## explicit