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 \
|
||||
|
|
8
releases/README.md
Normal file
8
releases/README.md
Normal 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
13
releases/v1.9.1.toml
Normal 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]
|
Loading…
Reference in a new issue