Apache Roller 版本发布
roller-release
准备、构建、签署、验证、暂存、投票并发布 Apache Roller 版本;Roller 7.x 及更高版本使用 Apache Trusted Releases,6.1.x 使用 SVN;包括网站更新和公告草稿。
- License 许可
- Apache-2.0
- 所属仓库
- apache/roller
- 最近更新
- 2026-11-15
- Stars
- ★ 133
- Forks
- 171
01 前言 Front Matter
- name
- roller-release
- description
- Prepare, build, sign, verify, stage, vote on and publish Apache Roller releases, using Apache Trusted Releases for Roller 7.x and later and SVN for 6.1.x, including website updates and announcement drafts.
02 资源文件 8
- 参考文档references/asf-policy.md2.6 KB
- 参考文档references/atr.md8.8 KB
- 参考文档references/dist-svn.md3.3 KB
- 参考文档references/signing-key.md3.2 KB
- 参考文档references/vote-and-announce.md4.4 KB
- 参考文档references/website.md2.8 KB
- 脚本scripts/bump-version.sh3.1 KB
- 脚本scripts/check-release.sh7.7 KB
03 SKILL.md 正文
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->
Apache Roller releases
Use the current checkout, project release decisions and ASF policy sources. Keep release execution notes, personal signing setup and undisclosed security scope outside this skill. Loading the skill does not authorize sending mail, pushing tags or publishing.
Select the workflow
Use Apache Trusted Releases (ATR) for Roller 7.x and later. Build locally and sign with the release manager's personal key. ATR manages staging, voting, publication and announcement; this does not enable CI signing or Trusted Publishing. Use SVN distribution for 6.1.x. Do not switch an active vote between workflows or run both publication paths for the same candidate.
Establish release inputs
Record the source checkout, target branch and exact commit; release version; RC number and tag; release-manager ASF ID; signing-key fingerprint; distribution working copies for the SVN path, or ATR project and candidate revision; and website checkout. Supply these from the actual release, not defaults from an earlier session. Use a clean tree or isolated checkout.
Check build documentation and CI for the branch's supported JDK. Confirm Maven, GnuPG, SVN and archive tools are available. Python 3 is used by the version helper. Use signing-key guidance before building a candidate.
Prepare and verify
- Agree scope and version, keeping undisclosed vulnerability details private.
- Inspect version-bearing POMs and packaging scripts. Run
scripts/bump-version.sh <old> <new>from this skill for a preview; use--writeonly to apply the reviewed scope. It does not commit. Update release notes and other appropriate references manually, preserving historical entries. - Commit the release inputs and record an RC tag at the exact source revision. Build from that revision so the embedded revision matches the candidate. Preserve candidate history; changed artifacts normally require a new candidate and vote. Do not silently replace artifacts already being voted on.
- Build and test from the root using the branch's documented Maven invocation
(normally
mvn -V -ntp clean install). Buildassembly-releaseseparately withmvn -f assembly-release/pom.xml package; it is outside the root reactor. - Inspect the source and binary tar/zip archives. Sign and generate checksums using signing instructions. For ATR, use final archive filenames from the start; identify RCs with Git tags and ATR revisions.
- Run
scripts/check-release.sh <artifact-dir>from this skill. Its optional--buildcompiles the source archive with tests skipped; it does not replace the test suite, a full license review, or independent voter verification. - Stage and download through the selected workflow: ATR compose
for Roller 7.x and later or SVN staging for 6.1.x.
Verify signatures, checksums and contents. From the unpacked downloaded source,
run
mvn -V -ntp clean installto build and test the files voters will receive.
Vote and publish
Follow the selected workflow and review vote and announcement templates. Normally allow at least 72 hours and require at least three positive binding votes and more positive than negative binding votes. Check current policy for exceptions. Record the result and the exact approved candidate.
For ATR releases, follow ATR vote and finish. Review ATR's email forms and tally; publish explicitly after approval, then update the website before triggering ATR's announcement. Do not also send the manual SVN messages or promote files with SVN. Keep automatic publication and archiving off.
For SVN releases, promote the approved artifact bytes; do not rebuild. If filenames lose the RC suffix, detached signatures still verify those unchanged bytes, but checksum filenames must be updated and verified. For either workflow, point the final Git tag at the approved RC commit. Inspect remote destination paths before distribution changes.
Update and publish the website, verify public download links and propagation, then announce. Prune superseded distributions only after the website points to the new release and archive availability is confirmed. Keep historical signing keys available for verification of old releases.
For security releases, coordinate advisory timing with the PMC and ASF Security;
use the companion roller-security skill when available. Public vote material,
announcements and release notes must not expose undisclosed case details; keep
them neutral until the advisories are out. The operator upgrade must be available
when the advisory is published.
References and helpers
- ASF policy: authoritative sources and review boundaries.
- Signing: explicit signer selection and verification.
- SVN distribution: 6.1.x staging, promotion and pruning.
- Vote and announcement: reusable message drafts.
- Website: source edits, rebuild and link verification.
- ATR: setup, compose, vote and finish.
Resolve helper paths relative to this skill; when using the repository copy,
they are under skills/roller-release/scripts/. Helpers do not commit or publish.