Skip to content

Commit 30575f9

Browse files
committed
Add release target, 1.8.0 release notes
1 parent 049219d commit 30575f9

File tree

2 files changed

+25
-11
lines changed

2 files changed

+25
-11
lines changed

Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
.PHONY: all install-deps lint
1+
.PHONY: all install-deps
22
.PHONY: unit-test integration-test security-test test fmt help
3+
.PHONY: fmt lint protogen release
34

45
PROJDIR = $(realpath $(CURDIR))
56

@@ -32,6 +33,18 @@ fmt:
3233
protogen:
3334
$(PROJDIR)/build/protogen $(PROJDIR)
3435

36+
release:
37+
ifeq ($(VERSION),)
38+
$(error VERSION must be set to deploy this code)
39+
endif
40+
ifeq ($(RELEASE_GPG_KEYNAME),)
41+
$(error RELEASE_GPG_KEYNAME must be set to deploy this code)
42+
endif
43+
@$(PROJDIR)/tools/build/publish $(VERSION) master validate
44+
@git tag --sign -a "$(VERSION)" -m "riak-go-client $(VERSION)" --local-user "$(RELEASE_GPG_KEYNAME)"
45+
@git push --tags
46+
@$(PROJDIR)/tools/build/publish $(VERSION) master 'Riak Go Client' 'riak-go-client'
47+
3548
help:
3649
@echo ''
3750
@echo ' Targets:'

RELNOTES.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,34 @@
33

44
Release Notes
55
=============
6-
* 1.7.0 - Following PRs included:
6+
* `1.8.0` - [Milestone](https://github.com/basho/riak-go-client/issues?q=milestone%3Ariak-go-client-1.8.0)
7+
* `1.7.0` - Following PRs included:
78
* [TimeSeries support](https://github.com/basho/riak-go-client/pull/68)
8-
* 1.6.0 - Following PRs included:
9+
* `1.6.0` - Following PRs included:
910
* [Add `NodeOptions` test and concurrent commands test for `MaxConnections`](https://github.com/basho/riak-go-client/pull/61)
1011
* [Security auth fixes](https://github.com/basho/riak-go-client/pull/60)
1112
* [Use request or command timeout as applicable](https://github.com/basho/riak-go-client/pull/57)
1213
* [Re-tryable vs non-re-tryable commands](https://github.com/basho/riak-go-client/pull/56)
1314
* [Re-try reads on temporary network errors, bug fixes in error situations](https://github.com/basho/riak-go-client/pull/52)
14-
* 1.5.1 (DEPRECATED RELEASE) - Following PRs addressed:
15+
* `1.5.1` (DEPRECATED RELEASE) - Following PRs addressed:
1516
* [Improve connection error handling](https://github.com/basho/riak-go-client/pull/48)
16-
* 1.5.0 - Following PRs addressed:
17+
* `1.5.0` - Following PRs addressed:
1718
* [Add `FetchBucketTypePropsCommand` and `StoreBucketTypePropsCommand`](https://github.com/basho/riak-go-client/pull/42)
18-
* 1.4.0 - Following issues / PRs addressed:
19+
* `1.4.0` - Following issues / PRs addressed:
1920
* [Add `ResetBucketCommand`](https://github.com/basho/riak-go-client/pull/35)
2021
* [Legacy Counter support](https://github.com/basho/riak-go-client/pull/33)
21-
* 1.3.0 - Following issues / PRs addressed:
22+
* `1.3.0` - Following issues / PRs addressed:
2223
* [Add `NoDefaultNode` option to `ClusterOptions`](https://github.com/basho/riak-go-client/pull/28)
2324
* [`ConnectionManager` / `NodeManager` fixes](https://github.com/basho/riak-go-client/pull/25)
2425
* [`ConnectionManager` expiration fix](https://github.com/basho/riak-go-client/issues/23)
25-
* 1.2.0 - Following issues / PRs addressed:
26+
* `1.2.0` - Following issues / PRs addressed:
2627
* [Conflict resolver not being passed to Fetch/Store-ValueCommand](https://github.com/basho/riak-go-client/issues/21)
2728
* [Reduce exported API](https://github.com/basho/riak-go-client/pull/20)
2829
* [Modify ClientError to trap an inner error if necessary](https://github.com/basho/riak-go-client/pull/19)
29-
* 1.1.0 - Following issues / PRs addressed:
30+
* `1.1.0` - Following issues / PRs addressed:
3031
* [Issues with incrementing counters within Maps](https://github.com/basho/riak-go-client/issues/17)
3132
* [Extra goroutine in Execute](https://github.com/basho/riak-go-client/issues/16)
3233
* [Execute does not return error correctly](https://github.com/basho/riak-go-client/isues/15)
33-
* 1.0.0 - Initial release with Riak 2.0 support.
34-
* 1.0.0-beta1 - Initial beta release with Riak 2 support. Command queuing and retrying not implemented yet.
34+
* `1.0.0` - Initial release with Riak 2.0 support.
35+
* `1.0.0-beta11 - Initial beta release with Riak 2 support. Command queuing and retrying not implemented yet.
3536

0 commit comments

Comments
 (0)