Skip to content

Commit 6c17279

Browse files
committed
.github: add issue template for releases.
Add and issue template for new releases, update RELEASE.md accordingly. Signed-off-by: Krisztian Litkey <[email protected]>
1 parent 40e4c31 commit 6c17279

File tree

2 files changed

+35
-22
lines changed

2 files changed

+35
-22
lines changed

.github/ISSUE_TEMPLATE/new-release.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: New Release
3+
about: Propose a New Release
4+
title: Release vX.Y.Z
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
## Release Process
11+
12+
<!--
13+
If making adjustments to the checklist, please also file a PR against
14+
this issue template (.github/ISSUE_TEMPLATE/new-release.md) to update
15+
it accordingly for future releases.
16+
-->
17+
18+
- [ ] Create a PR titled `Bump version to vX.Y.Z` including the following changes:
19+
- [ ] Change the following to the target version `vX.Y.Z`:
20+
- [ ] the `CurrentVersion` in `specs-go/versions.go`,
21+
- [ ] the `tags.cncf.io/container-device-interface` version in `schema/go.mod`,
22+
- [ ] (*for specification changes only*) the `tags.cncf.io/container-device-interface/specs-go` version in go.mod,
23+
- [ ] (*for specification changes only*) the `tags.cncf.io/container-device-interface/specs-go` version in `schema/go.mod`.
24+
- [ ] Run `make mod-tidy` to update versions in `cmd/**/go.mod`.
25+
- [ ] Run `make mod-verify` to ensure modules are up to date.
26+
- [ ] (*for specification changes only*) Add a description to the specification changes in `SPEC.md`.
27+
- [ ] (*for specification changes only*) Implement a `requiresV*` function for the target version in `specs-go/versions.go`.
28+
- [ ] Merge the PR on sufficient approval.
29+
- [ ] Create a `vX.Y.Z` tag.
30+
- [ ] (*for specification changes only*) Create a `specs-go/vX.Y.W` tag. (for the first spec version `W` will be the same as `Z`)
31+
- [ ] Create a GitHub release form the `vX.Y.Z` tag.
32+
- [ ] (*for specification changes only*) Create a GitHub release from the `specs-go/vX.Y.Z` tag.
33+
- [ ] Close the release issue.

RELEASE.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
# Release Process
22

3-
This document describes the release process for the Container Device Interface.
3+
The release process is documented in the [issue template for new releases](.github/ISSUE_TEMPLATE/new-release.md).
44

5-
1. Create an issue titled `Release container-device-interface vx.y.z` with the following content:
6-
```
7-
- [ ] Create a PR titled `Bump version to vx.y.z` including the following changes:
8-
- [ ] Change the following to the target version `vx.y.z`:
9-
- [ ] the `CurrentVersion` in `specs-go/versions.go`,
10-
- [ ] the `tags.cncf.io/container-device-interface` version in `schema/go.mod`,
11-
- [ ] (*for specification changes only*) the `tags.cncf.io/container-device-interface/specs-go` version in go.mod,
12-
- [ ] (*for specification changes only*) the `tags.cncf.io/container-device-interface/specs-go` version in `schema/go.mod`.
13-
- [ ] Run `make mod-tidy` to update versions in `cmd/**/go.mod`.
14-
- [ ] Run `make mod-verify` to ensure modules are up to date.
15-
- [ ] (*for specification changes only*) Add a description to the specification changes in `SPEC.md`.
16-
- [ ] (*for specification changes only*) Implement a `requiresV*` function for the target version in `specs-go/versions.go`.
17-
- [ ] Merge the PR on sufficient approval.
18-
- [ ] Create a `vx.y.z` tag.
19-
- [ ] (*for specification changes only*) Create a `specs-go/vx.y.w` tag. (for the first spec version `w` will be the same as `z`)
20-
- [ ] Create a GitHub release form the `vx.y.z` tag.
21-
- [ ] (*for specification changes only*) Create a GitHub release from the `specs-go/vx.y.w` tag.
22-
- [ ] Close the release issue.
23-
```
24-
1. Follow the steps as drescribed.
25-
1. If required, create PRs or issues in clients referencing the release issue to update their dependencies.
5+
If you plan or propose a new release, [please open a new issue](https://github.com/cncf-tags/container-device-interface/issues/new?template=new-release.md) for it.

0 commit comments

Comments
 (0)