diff --git a/cmd/uplift/tag.go b/cmd/uplift/tag.go index c8e25b55..7c41c984 100644 --- a/cmd/uplift/tag.go +++ b/cmd/uplift/tag.go @@ -127,7 +127,7 @@ func newTagCmd(gopts *globalOptions, out io.Writer) *tagCommand { git.WithSortBy(git.CreatorDateDesc, git.VersionDesc), git.WithCount(1)) if len(tags) == 1 { - fmt.Fprintf(out, tags[0]) + fmt.Fprint(out, tags[0]) } return nil } diff --git a/flake.lock b/flake.lock index 8e24d5aa..5e1e2f16 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1719075281, - "narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=", + "lastModified": 1724224976, + "narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af", + "rev": "c374d94f1536013ca8e92341b540eba4c22f9c62", "type": "github" }, "original": { diff --git a/go.mod b/go.mod index 712c7a63..0c70a162 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/gembaadvantage/uplift -go 1.22.3 +go 1.22.5 require ( github.com/Masterminds/semver v1.5.0