aboutcode-org / aboutcode-org/scancode.io

Discussion: Automatic Releases

未關閉
#1,992 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
215
分支
203
平均合併
4 天 8 小時
30 天內合併 PR
6

描述

Issuing a new release currently requires manual maintainer intervention, as documented in [RELEASE.md](https://github.com/aboutcode-org/scancode.io/blob/main/RELEASE.md).

The packages (PyPI, Docker images) and the GitHub release entry (including changelog) are already generated automatically—only the version bump and release trigger remain manual.

### Proposal

Automate the release process based on commit history and heuristics, removing the need for manual intervention.

### Candidate Tools

**[semantic-release](https://github.com/semantic-release/semantic-release)**
> semantic-release uses the commit messages to determine the consumer impact of changes in the codebase. Following formalized conventions for commit messages, semantic-release automatically determines the next semantic version number, generates a changelog and publishes the release.
> Tools such as commitizen or commitlint can be used to help contributors and enforce valid commit messages.

**[python-semantic-release](https://github.com/python-semantic-release/python-semantic-release)**
> Python Semantic Release (PSR) provides an automated release mechanism determined by SemVer and Commit Message Conventions for your Git projects.

**[release-please](https://github.com/googleapis/release-please)**
> Rather than continuously releasing what's landed to your default branch, release-please maintains Release PRs.

**[commitizen](https://github.com/commitizen-tools/commitizen)**
Python-native tool for enforcing commit conventions and automating version bumps.

### Next Steps

Discuss and prototype an implementation for ScanCode.io. If successful, propagate to other repositories.

### Commit message format

https://github.com/semantic-release/semantic-release?tab=readme-ov-file#commit-message-format
https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。