@@ -16,14 +16,12 @@ PANDOC_VERSION := $(shell pandoc --version)
16
16
PROTOC_VERSION := $(shell protoc --version)
17
17
18
18
PROJDIR = $(realpath $(CURDIR ) )
19
- TOOLS_DIR = $(PROJDIR ) /tools/devrel
20
- CA_DIR = $(PROJDIR ) /tools/test-ca
21
19
22
20
PYPI_REPOSITORY ?= pypi
23
21
24
22
.PHONY : lint
25
23
lint :
26
- . /.runner lint
24
+ $( PROJDIR ) /.runner lint
27
25
28
26
.PHONY : pb_clean
29
27
pb_clean :
@@ -59,14 +57,16 @@ ifeq ($(RELEASE_GPG_KEYNAME),)
59
57
endif
60
58
@python -c 'import pypandoc'
61
59
@echo "==> Python tagging version $(VERSION)"
62
- @./build/publish $(VERSION) validate
60
+ @$(PROJDIR)/build/publish $(VERSION) validate
61
+ @git tag --sign -a "$(VERSION)" -m "riak-python-client $(VERSION)" --local-user "$(RELEASE_GPG_KEYNAME)"
62
+ @git push --tags
63
63
@echo "==> pypi repository: $(PYPI_REPOSITORY)"
64
64
@echo "==> Python (sdist)"
65
65
@python setup.py sdist upload --repository $(PYPI_REPOSITORY) --show-response --sign --identity $(RELEASE_GPG_KEYNAME)
66
- @. /build/publish $(VERSION)
66
+ @$(PROJDIR) /build/publish $(VERSION)
67
67
68
68
.PHONY : release
69
- release : release_sdist
69
+ release : # release_sdist
70
70
ifeq ($(RELEASE_GPG_KEYNAME ) ,)
71
71
$(error RELEASE_GPG_KEYNAME must be set to build a release and deploy this package)
72
72
endif
@@ -82,19 +82,19 @@ endif
82
82
83
83
.PHONY : unit-test
84
84
unit-test :
85
- @./. runner unit-test
85
+ @$( PROJDIR ) / runner unit-test
86
86
87
87
.PHONY : integration-test
88
88
integration-test :
89
- @./. runner integration-test
89
+ @$( PROJDIR ) / runner integration-test
90
90
91
91
.PHONY : security-test
92
92
security-test :
93
- @./. runner security-test
93
+ @$( PROJDIR ) / runner security-test
94
94
95
95
.PHONY : timeseries-test
96
96
timeseries-test :
97
- @./. runner timeseries-test
97
+ @$( PROJDIR ) / runner timeseries-test
98
98
99
99
.PHONY : test
100
100
test : integration-test
0 commit comments