Wrong version number in 0.10.11?

Building my own Caddy binaries using GCC 7.2.1, GCC 4.8.5 and Clang 4.0.1 and seem to get reported wrong version number ? Seems others reported the same https://github.com/mholt/caddy/issues/2036 ?

/usr/local/bin/caddy -version
Caddy 0.10.10 (+106d62b Tue Feb 20 20:04:26 UTC 2018) (unofficial)
2 files changed, 52 insertions(+)
caddy/caddymain/run.go
caddyhttp/httpserver/plugin.go

/usr/local/bin/caddy-gcc7 -version
Caddy 0.10.10 (+106d62b Tue Feb 20 20:04:58 UTC 2018) (unofficial)
2 files changed, 52 insertions(+)
caddy/caddymain/run.go
caddyhttp/httpserver/plugin.go

/usr/local/bin/caddy-clang4 -version
Caddy 0.10.10 (+106d62b Tue Feb 20 20:05:31 UTC 2018) (unofficial)
2 files changed, 52 insertions(+)
caddy/caddymain/run.go
caddyhttp/httpserver/plugin.go
/usr/local/bin/caddy -plugins
Server types:
  http

Caddyfile loaders:
  short
  flag
  default

Other plugins:
  http.authz
  http.awses
  http.awslambda
  http.basicauth
  http.bind
  http.browse
  http.cache
  http.cgi
  http.cors
  http.datadog
  http.errors
  http.expires
  http.expvar
  http.ext
  http.fastcgi
  http.filemanager
  http.filter
  http.forwardproxy
  http.git
  http.gopkg
  http.gzip
  http.header
  http.hugo
  http.index
  http.internal
  http.ipfilter
  http.jekyll
  http.jsonp
  http.jwt
  http.limits
  http.locale
  http.log
  http.login
  http.mailout
  http.markdown
  http.mime
  http.minify
  http.multipass
  http.nobots
  http.oauth
  http.pprof
  http.prometheus
  http.proxy
  http.proxyprotocol
  http.push
  http.ratelimit
  http.realip
  http.reauth
  http.redir
  http.request_id
  http.restic
  http.rewrite
  http.root
  http.search
  http.status
  http.templates
  http.timeouts
  http.upload
  http.webdav
  http.websocket
  on
  shutdown
  startup
  tls
  tls.dns.azure
  tls.dns.cloudflare
  tls.dns.digitalocean
  tls.dns.dnsmadeeasy
  tls.dns.dyn
  tls.dns.godaddy
  tls.dns.googlecloud
  tls.dns.linode
  tls.dns.namecheap
  tls.dns.ns1
  tls.dns.ovh
  tls.dns.powerdns
  tls.dns.rackspace
  tls.dns.route53
  tls.dns.vultr
  tls.storage.file

The linked issue is missing version information, yours looks like it it just didn’t pull the latest master and tags. Are you sure you’ve pulled the latest, then run build.go?

1 Like

doh… sorted thanks

/usr/local/bin/caddy -version
Caddy 0.10.11 (+d3f338d Tue Feb 20 20:49:54 UTC 2018) (unofficial)
2 files changed, 50 insertions(+)
caddy/caddymain/run.go
caddyhttp/httpserver/plugin.go

/usr/local/bin/caddy-gcc7 -version
Caddy 0.10.11 (+d3f338d Tue Feb 20 20:50:25 UTC 2018) (unofficial)
2 files changed, 50 insertions(+)
caddy/caddymain/run.go
caddyhttp/httpserver/plugin.go

/usr/local/bin/caddy-clang4 -version
Caddy 0.10.11 (+d3f338d Tue Feb 20 20:50:52 UTC 2018) (unofficial)
2 files changed, 50 insertions(+)
caddy/caddymain/run.go
caddyhttp/httpserver/plugin.go
1 Like

I love the little things :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.