nixpkgs/pkgs/tools/misc/org-stats/version.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
332 B
Diff
Raw Normal View History

--- a/cmd/version.go
+++ b/cmd/version.go
@@ -16,7 +16,7 @@ var versionCmd = &cobra.Command{
if sum == "" {
sum = "none"
}
- fmt.Printf("https://%s %s @ %s\n", info.Main.Path, info.Main.Version, sum)
+ fmt.Printf("https://%s %s @ %s\n", info.Main.Path, "@version@", sum)
} else {
fmt.Println("unknown")
}