mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
16 lines
420 B
Diff
16 lines
420 B
Diff
Skip git commit info in the "version" command.
|
|
|
|
--- a/commands.go
|
|
+++ b/commands.go
|
|
@@ -643,9 +643,8 @@ func CommandUndo(conf Config, args []string, ctx, query Query) error {
|
|
// CommandVersion prints version information for the dstask binary.
|
|
func CommandVersion() {
|
|
fmt.Printf(
|
|
- "Version: %s\nGit commit: %s\nBuild date: %s\n",
|
|
+ "Version: %s\nBuild date: %s\n",
|
|
VERSION,
|
|
- GIT_COMMIT,
|
|
BUILD_DATE,
|
|
)
|
|
}
|