cmd: containerd-release: abstract it out to create a new project

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca
2017-10-30 15:10:41 +01:00
parent 1f704e9862
commit fa678a0937
4 changed files with 17 additions and 11 deletions

View File

@@ -1,14 +1,14 @@
package main
const releaseNotes = `Welcome to the release of containerd {{.Version}}!
const releaseNotes = `Welcome to the release of {{.ProjectName}} {{.Version}}!
{{if .PreRelease}}
*This is a pre-release of containerd*
*This is a pre-release of {{.ProjectName}}*
{{- end}}
{{.Preface}}
Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.
https://github.com/{{.GithubRepo}}/issues.
{{range $note := .Notes}}
### {{$note.Title}}
@@ -28,7 +28,7 @@ https://github.com/containerd/containerd/issues.
### Dependency Changes
Previous release can be found at [{{.Previous}}](https://github.com/containerd/containerd/releases/tag/{{.Previous}})
Previous release can be found at [{{.Previous}}](https://github.com/{{.GithubRepo}}/releases/tag/{{.Previous}})
{{range $dep := .Dependencies}}
* {{$dep.Previous}} -> {{$dep.Commit}} **{{$dep.Name}}**
{{- end}}