mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-18 14:02:56 +00:00
Compile error
This commit is contained in:
@@ -49,7 +49,7 @@ func handleVersion(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Add("Content-Type", "text/json")
|
||||
json.NewEncoder(w).Encode(versionResp{
|
||||
Source: "https://github.com/laszlocph/woodpecker",
|
||||
Version: version.Version.String(),
|
||||
Version: version.String(),
|
||||
})
|
||||
}
|
||||
|
||||
|
@@ -28,7 +28,7 @@ import (
|
||||
func main() {
|
||||
app := cli.NewApp()
|
||||
app.Name = "drone-agent"
|
||||
app.Version = version.Version.String()
|
||||
app.Version = version.String()
|
||||
app.Usage = "drone agent"
|
||||
app.Action = loop
|
||||
app.Commands = []cli.Command{
|
||||
|
Reference in New Issue
Block a user