From 6059a588771ef5003def62eff69f5715d3d0e4c3 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Sat, 27 Jan 2018 12:39:55 +0100 Subject: [PATCH] releases: add releases Signed-off-by: Antonio Murdaca --- Makefile | 11 ++++++++++- releases/README.md | 8 ++++++++ releases/v1.9.1.toml | 13 +++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 releases/README.md create mode 100644 releases/v1.9.1.toml diff --git a/Makefile b/Makefile index 7cc1a4c1..60898f92 100644 --- a/Makefile +++ b/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 \ diff --git a/releases/README.md b/releases/README.md new file mode 100644 index 00000000..60e48189 --- /dev/null +++ b/releases/README.md @@ -0,0 +1,8 @@ +## `releases` ## + +``` +make install-tools +git tag vX.Y.Z +touch releases/vX.Y.Z.toml +make release-note release=releases/vX.Y.Z.toml +``` diff --git a/releases/v1.9.1.toml b/releases/v1.9.1.toml new file mode 100644 index 00000000..dc6f626c --- /dev/null +++ b/releases/v1.9.1.toml @@ -0,0 +1,13 @@ +# The commit/tag of the release +commit = "v1.9.1" +project_name = "CRI-O" +github_repo = "kubernetes-incubator/cri-o" +previous = "v1.9.0" +pre_release = false + +preface = """\ +""" + +[notes] + +[breaking]