Skip to content

Commit

Permalink
bump versioning to 1.3.2 (#58)
Browse files Browse the repository at this point in the history
* bump versioning to 1.3.1

* fix script / gofmt fixes

Co-authored-by: Daniele Palaia <[email protected]>
  • Loading branch information
DanielePalaia and Daniele Palaia authored Mar 28, 2022
1 parent 3d56e20 commit 0a1a137
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion change_version.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
echo $1 > VERSION
sed -i -e "s/.*buildVersion = \"*.*/buildVersion = \"$1\"/" ./connection.go
sed -i -e "s/.*buildVersion = \"*.*/buildVersion = \"$1\"/" ./connection.go
go fmt ./...
2 changes: 1 addition & 1 deletion connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
defaultHeartbeat = 10 * time.Second
defaultConnectionTimeout = 30 * time.Second
defaultProduct = "Amqp 0.9.1 Client"
buildVersion = "1.3.0"
buildVersion = "1.3.2"
platform = "golang"
// Safer default that makes channel leaks a lot easier to spot
// before they create operational headaches. See https://github.com/rabbitmq/rabbitmq-server/issues/1593.
Expand Down
1 change: 1 addition & 0 deletions connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build integration
// +build integration

package amqp091
Expand Down
4 changes: 2 additions & 2 deletions example_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ var (
// attempts to connect to the server.
func New(queueName, addr string) *Client {
client := Client{
logger: log.New(os.Stdout, "", log.LstdFlags),
logger: log.New(os.Stdout, "", log.LstdFlags),
queueName: queueName,
done: make(chan bool),
done: make(chan bool),
}
go client.handleReconnect(addr)
return &client
Expand Down
1 change: 1 addition & 0 deletions fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build gofuzz
// +build gofuzz

package amqp091
Expand Down

0 comments on commit 0a1a137

Please sign in to comment.