Skip to content

Commit

Permalink
Merge pull request #751 from distribworks/upgrade_deps
Browse files Browse the repository at this point in the history
Upgrade deps and add codename
  • Loading branch information
Victor Castell authored May 8, 2020
2 parents b4b015a + d417d1a commit 5c0b77d
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ builds:
- amd64
- arm64
ldflags:
- -s -w -X github.com/distribworks/dkron/v2/dkron.Version={{.Version}}
- -s -w -X github.com/distribworks/dkron/v2/dkron.Version={{.Version}} -X github.com/distribworks/dkron/v2/dkron.Codename=merichuas

nfpms:
-
Expand Down
4 changes: 3 additions & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ var versionCmd = &cobra.Command{
Short: "Show version",
Long: `Show the version`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Printf("Dkron %s\n", dkron.Version)
fmt.Printf("Name: %s\n", dkron.Name)
fmt.Printf("Version: %s\n", dkron.Version)
fmt.Printf("Codename: %s\n", dkron.Codename)
fmt.Printf("Agent Protocol: %d (Understands back to: %d)\n",
serf.ProtocolVersionMax, serf.ProtocolVersionMin)
},
Expand Down
3 changes: 3 additions & 0 deletions dkron/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ var Name = "Dkron"
// Version is the current version that will get replaced
// on build.
var Version = "devel"

// Codename codename of this series
var Codename = "Devel"
25 changes: 12 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,47 +1,46 @@
module github.com/distribworks/dkron/v2

require (
github.com/DataDog/datadog-go v3.4.1+incompatible // indirect
github.com/DataDog/datadog-go v3.7.1+incompatible // indirect
github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2
github.com/armon/go-metrics v0.3.3
github.com/aws/aws-sdk-go v1.29.22 // indirect
github.com/aws/aws-sdk-go v1.30.24 // indirect
github.com/gin-contrib/expvar v0.0.1
github.com/gin-contrib/multitemplate v0.0.0-20200226145339-3e397ee01bc6
github.com/gin-gonic/gin v1.6.3
github.com/gogo/protobuf v1.3.1 // indirect
github.com/golang/protobuf v1.4.0
github.com/golang/protobuf v1.4.1
github.com/hashicorp/go-discover v0.0.0-20200108194735-7698de1390a1
github.com/hashicorp/go-hclog v0.12.2
github.com/hashicorp/go-immutable-radix v1.1.0 // indirect
github.com/hashicorp/go-hclog v0.13.0
github.com/hashicorp/go-immutable-radix v1.2.0 // indirect
github.com/hashicorp/go-plugin v1.2.2
github.com/hashicorp/go-sockaddr v1.0.2
github.com/hashicorp/go-syslog v1.0.0
github.com/hashicorp/go-version v1.2.0
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/memberlist v0.2.0
github.com/hashicorp/memberlist v0.2.2
github.com/hashicorp/raft v1.1.2
github.com/hashicorp/raft-boltdb v0.0.0-20191021154308-4207f1bf0617
github.com/hashicorp/serf v0.9.0
github.com/hashicorp/serf v0.9.2
github.com/hashicorp/yamux v0.0.0-20190923154419-df201c70410d // indirect
github.com/jordan-wright/email v0.0.0-20180115032944-94ae17dedda2
github.com/juliangruber/go-intersect v1.0.0
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
github.com/mattn/go-shellwords v1.0.10
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/prometheus/client_golang v1.6.0
github.com/robfig/cron/v3 v3.0.1
github.com/ryanuber/columnize v2.1.0+incompatible
github.com/sirupsen/logrus v1.6.0
github.com/soheilhy/cmux v0.1.4
github.com/spf13/cobra v0.0.7
github.com/spf13/cobra v1.0.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.6.3
github.com/stretchr/testify v1.5.1
github.com/tidwall/buntdb v1.1.2
golang.org/x/crypto v0.0.0-20200311171314-f7b00557c8c4 // indirect
golang.org/x/net v0.0.0-20200301022130-244492dfa37a
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 // indirect
golang.org/x/crypto v0.0.0-20200429183012-4b2356b1ed79 // indirect
golang.org/x/net v0.0.0-20200506145744-7e3656a0809f
google.golang.org/grpc v1.29.1
)

go 1.13
go 1.14
Loading

0 comments on commit 5c0b77d

Please sign in to comment.