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 \

8
releases/README.md Normal file
View file

@ -0,0 +1,8 @@
## `releases` ##
```
make install-tools
git tag vX.Y.Z <commit>
touch releases/vX.Y.Z.toml
make release-note release=releases/vX.Y.Z.toml
```

13
releases/v1.9.1.toml Normal file
View file

@ -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]