releases: add releases
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
33e1057102
commit
6059a58877
3 changed files with 31 additions and 1 deletions
11
Makefile
11
Makefile
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue