ci: new docker release workflows

This commit is contained in:
Henrique Dias
2024-07-21 20:32:59 +02:00
committed by GitHub
parent 968f2e147a
commit 90c031846d
5 changed files with 93 additions and 177 deletions
+2 -2
View File
@@ -6,14 +6,14 @@ import (
"github.com/spf13/cobra"
)
var version = "(untracked)"
var version = "untracked"
func init() {
rootCmd.AddCommand(&cobra.Command{
Use: "version",
Short: "Print the version number",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("WebDAV version " + version)
fmt.Printf("WebDAV version: %q", version)
},
})
}