releases: add releases

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2018-01-27 12:39:55 +01:00
parent 33e1057102
commit 6059a58877
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
3 changed files with 31 additions and 1 deletions

View file

@ -47,6 +47,7 @@ help:
@echo
@echo " * 'install' - Install binaries to system locations"
@echo " * 'binaries' - Build crio, conmon and pause"
@echo " * 'release-note' - Generate release note"
@echo " * 'integration' - Execute integration tests"
@echo " * 'clean' - Clean artifacts"
@echo " * 'lint' - Execute the source code linter"
@ -88,6 +89,9 @@ crio: .gopathok $(shell hack/find-godeps.sh $(GOPKGDIR) cmd/crio $(PROJECT))
crio.conf: crio
./bin/crio --config="" config --default > crio.conf
release-note:
@$(GOPATH)/bin/containerd-release -n $(release)
clean:
ifneq ($(GOPATH),)
rm -f "$(GOPATH)/.gopathok"
@ -185,7 +189,12 @@ endif
.PHONY: install.tools
install.tools: .install.gitvalidation .install.gometalinter .install.md2man
install.tools: .install.gitvalidation .install.gometalinter .install.md2man .install.release
.install.release:
if [ ! -x "$(GOPATH)/bin/containerd-release" ]; then \
go get -u github.com/containerd/containerd/cmd/containerd-release; \
fi
.install.gitvalidation: .gopathok
if [ ! -x "$(GOPATH)/bin/git-validation" ]; then \