Unverified Commit 454a9df6 authored by Lei Wang's avatar Lei Wang Committed by GitHub
Browse files

[Feature] Add Release Plan issue template for structured release management (#1231)

* Introduced a new issue template for planning releases, including fields for version, milestone, scope, tasks, readiness checks, and additional notes.
* This template aims to streamline the release planning process and ensure all necessary information is captured for each release.
parent 9eaa708f
name: "Release Plan"
description: "Plan the next release"
title: "[Release Plan] vX.Y.Z"
labels:
- release-plan
- tracking
assignees: []
body:
- type: input
id: version
attributes:
label: "Version"
placeholder: "v0.2.0"
validations:
required: true
- type: input
id: milestone
attributes:
label: "Milestone"
description: "Link or name of the milestone for this release"
placeholder: "https://github.com/tile-ai/tilelang/milestone/XX"
- type: textarea
id: scope
attributes:
label: "Scope"
description: "Goals and non-goals (brief)"
placeholder: |
- Goals: ...
- Non-goals: ...
- type: textarea
id: tasks
attributes:
label: "Tasks"
description: "Task list; link issues/PRs"
value: |
- [ ] Features
- [ ] Fixes
- [ ] Docs
- [ ] API/Breaking changes
- [ ] Benchmarks
- [ ] Release notes
- type: checkboxes
id: readiness
attributes:
label: "Readiness"
options:
- label: "All planned issues closed or deferred"
- label: "Docs updated"
- label: "CI green; artifacts verified"
- label: "Release notes drafted"
- type: textarea
id: notes
attributes:
label: "Notes"
description: "Risks or communications (optional)"
placeholder: |
- Risk: ...
- Communication: ...
...@@ -20,14 +20,10 @@ def _compute_version() -> str: ...@@ -20,14 +20,10 @@ def _compute_version() -> str:
try: try:
repo_root = Path(__file__).resolve().parent.parent repo_root = Path(__file__).resolve().parent.parent
version_file = repo_root / "VERSION" version_file = repo_root / "VERSION"
print("version_file:", version_file)
if version_file.is_file(): if version_file.is_file():
try: try:
import version_provider import version_provider
print("version_provider ", version_provider.__file__)
from version_provider import dynamic_metadata # type: ignore from version_provider import dynamic_metadata # type: ignore
print("dynamic_metadata:", dynamic_metadata, "version:",
dynamic_metadata("version"))
return dynamic_metadata("version") return dynamic_metadata("version")
except Exception: except Exception:
# Fall back to the raw VERSION file if provider isn't available. # Fall back to the raw VERSION file if provider isn't available.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment