# 软件发布生命周期

软件发布生命周期是指一款软件从最初的内部构建版本，到正式发布、持续维护，直至最终终止支持所经历的一系列有名称的阶段。一个典型的周期包括开发快照、alpha版本、beta版本、发布候选版、稳定版或正式发布版、维护更新、长期支持期，以及事先公告的支持终止。<sup>[1](https://articles.roovet.com/Software_release_life_cycle)</sup>这些名称描述了软件的完整程度和测试程度，也告诉用户运行该软件会承担什么样的风险。

| 关键事实 | 详情 |
|---|---|
| 标准阶段 | 预alpha、alpha、beta、发布候选版（RC）、正式发布（GA或金版）、维护、弃用、生命周期终止<sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup><sup> • </sup><sup>[3](https://cwiki.apache.org/confluence/download/export/pdfexport-20260603-030626-1858-188081/Release%2BLifecycle_675397c94ce44037b99eb6e02905ad31-030626-1858-188082.pdf?contentType=application%2Fpdf)</sup> |
| beta的定义 | 首个在开发组织之外发布、用于真实环境测试的产品版本；它包含所有功能，但通常仍带有已知问题<sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup> |
| 发布候选版 | 包含所有已完成的功能，有可能成为最终产品；除缺陷修复外，代码已经完整<sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup> |
| 版本编号 | 语义化版本：主版本号用于不兼容的API变更，次版本号用于向后兼容的功能新增，修订号用于向后兼容的缺陷修复<sup>[4](https://semver.org/)</sup> |
| 分发模式 | 固定（单点）发布冻结一组经过测试的软件包并对其打补丁；滚动发布从上游持续更新；基于镜像（原子）的模式跟踪一个基础镜像<sup>[5](https://polishlinux.org/guide/rolling-vs-fixed/)</sup><sup> • </sup><sup>[6](https://laoujin.github.io/Atlas/research/2026-07-30-decision-framework-which-linux-distribution-to-switch-to-as-a-daily-driver-in-2026/stable-vs-rolling-vs-immutable-atomic/)</sup> |
| 生产风险实践 | Google SRE假定每个新发布版本都可能包含一个或多个缺陷，并依靠检测、回滚和金丝雀发布来限制损害<sup>[7](https://cloud.google.com/blog/products/gcp/reliable-releases-and-rollbacks-cre-life-lessons)</sup> |
| 维护占比 | 对软件项目的调查一致发现，与初始开发相比，维护消耗了生命周期成本中相当大的比例<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0065245802800031)</sup> |

## 发布前阶段

**预alpha与alpha。** 预alpha构建版本不一定包含已完成的功能；它通常是用于验证某项工作或确认开发未破坏构建过程的临时产品构建。alpha版本的功能仍未全部完成，但满足发布要求，它通常是交付给测试组的首个内部构建版本，往往包含临时代码和已知的产品故障。<sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup>一份1988年的Informix质量保证文件将alpha测试描述为正式的内部测试，由独立于研发部门的组织按照书面测试计划执行，在beta测试或量产发布开始之前完成。<sup>[9](https://archive.computerhistory.org/resources/access/text/2016/11/102653330-05-01-acc.pdf)</sup>

**beta。** beta阶段标志着首个在开发组织之外发布的版本，用于真实环境测试。beta包含所有功能和特性，但通常仍带有已知问题和缺陷。<sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup>在Informix的表述中，beta测试由客户在准备发布的产品上执行，以检验功能、性能以及供应商交付和支持该产品的能力，而不是为了大量查找缺陷。<sup>[9](https://archive.computerhistory.org/resources/access/text/2016/11/102653330-05-01-acc.pdf)</sup>alpha和beta的术语起源于IBM，随着软件成为该公司产品的重要组成部分，alpha测试指产品公告前的测试，beta测试则标志着产品已准备好正式发布。<sup>[10](https://www.researchgate.net/publication/330324618_Lesson_112_Software_release_life_cycle_Lessons_in_software_design_architecture_and_development_10_Selby_Mvusi_and_beyond)</sup>

**发布候选版。** 发布候选版包含所有已完成的功能和特性，是有可能成为最终产品的版本。当团队一致同意不再添加新的源代码时，该发布就被称为代码完整，不过为修复缺陷而做的修改仍可能出现。<sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup>公开评估版本可能会在版本号旁附带描述性标签，例如SAToolKit 2.1.0（Alpha）或2.1.0（Beta）。<sup>[11](https://interoperable-europe.ec.europa.eu/sites/default/files/document/2011-12/ReleaseManagement_v1.0.pdf)</sup>

## 正式发布与维护

正式发布，有时称为金版发布，是某一特定产品的最终版本，美国卫生与公众服务部指南将其描述为稳定、相对无缺陷，且质量超出客户预期。<sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup>正式发布之后，产品进入维护阶段，然后是弃用，最终是生命周期终止；[Apache Cassandra](https://www.edgepedia.org/zh/apache-cassandra)项目正是这样定义快照、alpha、beta、发布候选版、正式发布、维护和弃用这一系列阶段的，并期望各发布版本在接口上保持稳定，以便消费者在版本推进过程中无需修改代码。<sup>[3](https://cwiki.apache.org/confluence/download/export/pdfexport-20260603-030626-1858-188081/Release%2BLifecycle_675397c94ce44037b99eb6e02905ad31-030626-1858-188082.pdf?contentType=application%2Fpdf)</sup>

维护主导着这一周期的经济账。对软件项目的反复调查——跨越不同领域、国家和二十年——都得出了一致的结论：生命周期成本中相当大的比例被软件维护而非初始开发所消耗。<sup>[8](https://www.sciencedirect.com/science/article/abs/pii/S0065245802800031)</sup>支持期限是一种政策选择：微软对每年发布的[Windows 11](https://www.edgepedia.org/zh/windows-11)版本在企业版、教育版和物联网企业版上提供自发布之日起36个月的服务，在家庭版和专业版上提供24个月的服务，并期望客户在当前版本到达服务终止之前迁移到最新版本。<sup>[12](https://learn.microsoft.com/en-us/lifecycle/faq/windows)</sup>长期支持标签描述的是发布方政策下的延长支持期；该标签并不意味着软件永不变化，也不意味着某个安装可以无限期地搁置不管。<sup>[13](https://www.itechguides.com/linux-distributions-compared-how-to-evaluate-stability-security-and-support/)</sup>

## 版本编号

版本号承载着关于变更内容的信息。根据语义化版本2.0.0，版本采用主版本号.次版本号.修订号的形式：主版本号在不兼容的API变更时递增，次版本号在向后兼容的功能新增时递增，修订号在向后兼容的缺陷修复时递增，还可选配预发布和构建元数据标签。使用该方案的软件必须声明一个公共API，且一旦某个带版本号的软件包发布，其内容就不得修改。该规范最初由[汤姆·普雷斯顿-沃纳](https://www.edgepedia.org/zh/tom-preston-werner)（Tom Preston-Werner）撰写，他是Gravatar的发明者和GitHub的联合创始人。<sup>[4](https://semver.org/)</sup>针对Maven仓库的研究考察了库开发者使用语义化版本在多大程度上真正向用户发出了破坏性变更的信号，因为即使编译和链接成功，升级仍可能导致异常执行或崩溃。<sup>[14](https://www.sciencedirect.com/science/article/pii/S0164121216300243)</sup>

## 操作系统与发行版中的发布模式

**固定发布。** 固定发布的发行版交付的是一份快照：一组经过共同测试的软件包，在某个时间点被冻结，然后主要靠安全补丁维护，直到生命周期终止日期。Debian稳定版、Ubuntu LTS、红帽企业Linux和SUSE Linux Enterprise都是这样运作的；唯一剧烈的变化是每隔一年或几年显式升级到下一个版本。<sup>[5](https://polishlinux.org/guide/rolling-vs-fixed/)</sup>代价是软件的老化：一个冻结的发布版本在其支持期内所含的软件版本会越来越旧，而慢速发布的系统在大版本升级之间会积累许多底层变化。<sup>[6](https://laoujin.github.io/Atlas/research/2026-07-30-decision-framework-which-linux-distribution-to-switch-to-as-a-daily-driver-in-2026/stable-vs-rolling-vs-immutable-atomic/)</sup><sup> • </sup><sup>[15](https://public.jdstone1.com/books_and_magazines/Computer_Books/Operating_Systems/Linux%20Administration%20Best%20Practices.pdf)</sup>

**滚动发布。** 滚动发布的发行版没有真正意义上的版本号：其软件包从上游持续更新，这意味着半年前装好的机器上的软件已经逐渐变成了别的东西，尽管最初的底层安装仍然在那里。<sup>[5](https://polishlinux.org/guide/rolling-vs-fixed/)</sup>[Arch Linux](https://www.edgepedia.org/zh/arch-linux)明确将自己定位为滚动发布发行版，openSUSE将[Tumbleweed](https://www.edgepedia.org/zh/tumbleweed)描述为包含当前稳定软件的纯滚动发布。<sup>[16](https://www.golinuxcloud.com/rolling-release-vs-fixed-release-linux/)</sup>代价是暴露于上游的破坏性变更：Arch在2025年1月至2026年7月间发布了13条标记为“需要手动干预”的公告，每一条如果被忽视都可能导致启动失败。<sup>[6](https://laoujin.github.io/Atlas/research/2026-07-30-decision-framework-which-linux-distribution-to-switch-to-as-a-daily-driver-in-2026/stable-vs-rolling-vs-immutable-atomic/)</sup>两种模式没有优劣之分；它们对运行者提出了不同的要求，而固定发布或滚动发布的标签描述的是一种更新模式，而不是系统永不损坏的保证。<sup>[5](https://polishlinux.org/guide/rolling-vs-fixed/)</sup><sup> • </sup><sup>[13](https://www.itechguides.com/linux-distributions-compared-how-to-evaluate-stability-security-and-support/)</sup>

**基于镜像的模式与混合模式。** 基于镜像或原子的发行版，如Fedora Silverblue和Kinoite、Bluefin、openSUSE Aeon以及[NixOS](https://www.edgepedia.org/zh/nixos)，将系统作为一个整体镜像交付，按照基础镜像的节奏跟踪其基础，并将回滚作为一等机制。<sup>[6](https://laoujin.github.io/Atlas/research/2026-07-30-decision-framework-which-linux-distribution-to-switch-to-as-a-daily-driver-in-2026/stable-vs-rolling-vs-immutable-atomic/)</sup>

Google内部的Linux桌面团队从固定的Ubuntu发布转向滚动模式，并报告称这使发布工程工作只需一名值班发布工程师负责，由团队成员轮流担任，消除了新LTS版本的多阶段alpha、beta和GA推送，并让整个机群运行得更接近上游发布，从而使安全修复无需等待发行版公告就能迅速到达。<sup>[17](https://cloud.google.com/blog/topics/developers-practitioners/how-google-got-to-rolling-linux-releases-for-desktops)</sup>

## 发布工程与生产安全

发布工程是将完成的代码转化为已部署软件的学科，涵盖六个领域：带分支和合并的版本控制、用于构建和测试的[部署流水线](https://www.edgepedia.org/zh/deployment-pipeline)、构建系统、基础设施即代码、部署以及发布本身。其现代实践强调对构建产物和配置进行版本控制、开发测试运维之间的紧密协作、自动化、逐个发布变更，以及在部署过程中检测缺陷并回滚失败变更的能力。设计这一过程是在发布信心和发布速度（从提交到生产部署的时间）之间的权衡。<sup>[18](https://link.springer.com/article/10.1007/s10664-018-9616-7)</sup>

一旦软件到达生产环境，发布生命周期就以运维的形式继续。Google的站点可靠性工程团队在目睹了许多由发布导致的中断之后，假定每个新发布版本都可能包含一个或多个缺陷，并围绕三项任务来构建可靠性：检测新发布版本何时出问题，将用户安全地从坏版本转移到修复版本，以及通过金丝雀发布从一开始就防止过多客户端收到坏版本——在金丝雀发布中，金丝雀实例是在采用新二进制文件或配置的实例中，第一个接收真实生产流量的实例。<sup>[7](https://cloud.google.com/blog/products/gcp/reliable-releases-and-rollbacks-cre-life-lessons)</sup><sup> • </sup><sup>[19](https://cloud.google.com/blog/products/gcp/how-release-canaries-can-save-your-bacon-cre-life-lessons)</sup>[持续集成](https://www.edgepedia.org/zh/continuous-integration)、持续交付和持续部署对此做了延伸：CI频繁地集成和测试单个变更，CD使经过验证的变更可部署到生产环境，持续部署则自动部署它们，[功能开关](https://www.edgepedia.org/zh/feature-toggle)可以将已部署的变更对用户隐藏。<sup>[18](https://link.springer.com/article/10.1007/s10664-018-9616-7)</sup>一项对持续实践的系统综述识别了三十种方法及相关工具，涉及缩短构建和测试时间、在CI中检测故障以及提高部署过程可靠性等目标。<sup>[20](https://arxiv.org/abs/1703.07019)</sup>

## 随时间推移发生的变化

周期已经压缩了。在瀑布模型时代——该模型在整个软件行业标准化，每个版本大约18到24个月——补丁将交付速度提升到约三个月，但成本高到主要只用于缺陷修复而非功能新增；随后基于Web的开发使反馈和更新都大大加快，因为软件可以在一个地方修改，而不是在数十万台PC上修改。<sup>[21](https://cloud.google.com/blog/topics/inside-google-cloud/the-speed-read-with-quentin-hardy-the-modern-fable-of-the-developer-and-the-tortoise)</sup>采用新版本所需的时间也缩短了：Datadog的2026年DevSecOps状况报告发现，一半的组织在发布后24小时内采用新的库版本，而依赖项落后于其最新主版本的时间中位数为278天，87%的组织在已部署的服务中至少有一个已知的可利用漏洞。<sup>[22](https://www.itpro.com/software/development/surging-third-party-risks-create-software-vulnerability-headaches-for-developer-teams)</sup>阶段名称本身几十年来保持稳定，这就是为什么一份1988年的内部词汇表和一份当前的政府实践指南用可辨认的相同术语来描述alpha、beta和金版发布。<sup>[9](https://archive.computerhistory.org/resources/access/text/2016/11/102653330-05-01-acc.pdf)</sup><sup> • </sup><sup>[2](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)</sup>

## References

1. [Software Release Life Cycle – Alpha, Beta, Stable and End of Life, Roovet Articles](https://articles.roovet.com/Software_release_life_cycle)
2. [EPLC Release Strategy Practice Guide, U.S. Department of Health and Human Services](https://www.hhs.gov/sites/default/files/ocio/eplc/EPLC%20Archive%20Documents/29-Release%20Strategy/eplc_release_strategy_practices_guide.pdf)
3. [Release Lifecycle, Apache Cassandra project documentation](https://cwiki.apache.org/confluence/download/export/pdfexport-20260603-030626-1858-188081/Release%2BLifecycle_675397c94ce44037b99eb6e02905ad31-030626-1858-188082.pdf?contentType=application%2Fpdf)
4. [Semantic Versioning 2.0.0](https://semver.org/)
5. [Rolling vs Fixed Release: Pick a Cadence, Polish Linux](https://polishlinux.org/guide/rolling-vs-fixed/)
6. [Stable, rolling, or atomic: picking a release model for your first Linux daily driver, Atlas](https://laoujin.github.io/Atlas/research/2026-07-30-decision-framework-which-linux-distribution-to-switch-to-as-a-daily-driver-in-2026/stable-vs-rolling-vs-immutable-atomic/)
7. [Reliable releases and rollbacks, Google Cloud Blog](https://cloud.google.com/blog/products/gcp/reliable-releases-and-rollbacks-cre-life-lessons)
8. [Software Evolution and the Staged Model of the Software Lifecycle, Advances in Computers](https://www.sciencedirect.com/science/article/abs/pii/S0065245802800031)
9. [Definitions of Software Development/Test/Release Phases, Informix QA document (1988), Computer History Museum](https://archive.computerhistory.org/resources/access/text/2016/11/102653330-05-01-acc.pdf)
10. [Lesson 1.1.2 Software release life cycle, ResearchGate](https://www.researchgate.net/publication/330324618_Lesson_112_Software_release_life_cycle_Lessons_in_software_design_architecture_and_development_10_Selby_Mvusi_and_beyond)
11. [Release Management v1.0, Interoperable Europe](https://interoperable-europe.ec.europa.eu/sites/default/files/document/2011-12/ReleaseManagement_v1.0.pdf)
12. [Lifecycle FAQ – Windows, Microsoft Learn](https://learn.microsoft.com/en-us/lifecycle/faq/windows)
13. [How to Compare Linux Distros for Stability, Security, and Support, ITTechGuides](https://www.itechguides.com/linux-distributions-compared-how-to-evaluate-stability-security-and-support/)
14. [Semantic versioning and impact of breaking changes in the Maven repository, Journal of Systems and Software](https://www.sciencedirect.com/science/article/pii/S0164121216300243)
15. [Choosing Your Distribution and Release Model, Linux Administration Best Practices](https://public.jdstone1.com/books_and_magazines/Computer_Books/Operating_Systems/Linux%20Administration%20Best%20Practices.pdf)
16. [Rolling Release vs Fixed Release Linux, GoLinuxCloud](https://www.golinuxcloud.com/rolling-release-vs-fixed-release-linux/)
17. [How Google got to rolling Linux releases for Desktops, Google Cloud Blog](https://cloud.google.com/blog/topics/developers-practitioners/how-google-got-to-rolling-linux-releases-for-desktops)
18. [Comparison of release engineering practices in a large mature company and a startup, Empirical Software Engineering](https://link.springer.com/article/10.1007/s10664-018-9616-7)
19. [How release canaries can save your bacon, Google Cloud Blog](https://cloud.google.com/blog/products/gcp/how-release-canaries-can-save-your-bacon-cre-life-lessons)
20. [Continuous Integration, Delivery and Deployment: A Systematic Review on Approaches, Tools, Challenges and Practices, arXiv](https://arxiv.org/abs/1703.07019)
21. [The modern fable of the developer and the tortoise, Google Cloud Blog](https://cloud.google.com/blog/topics/inside-google-cloud/the-speed-read-with-quentin-hardy-the-modern-fable-of-the-developer-and-the-tortoise)
22. [Surging third-party risks create software vulnerability headaches for developer teams, ITPro](https://www.itpro.com/software/development/surging-third-party-risks-create-software-vulnerability-headaches-for-developer-teams)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Software engineering and development process › Development methodologies and project management

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/software-release-life-cycle

English original: https://www.edgepedia.org/software-release-life-cycle
