blob: c62eea4f592322ef0405c618373f4dc4ef3290cb [file] [log] [blame]
<!DOCTYPE html>
<html lang="cn" class="js csstransforms3d">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="generator" content="Hugo 0.70.0" />
<meta name="description" content="">
<meta name="buildDate" content="2023-06-09 17:25:25">
<link rel="shortcut icon" href="https://shardingsphere.apache.org/document/current/img/favicon.png" type="image/x-icon" />
<title>ShardingSphere on Cloud 发布指南 :: ShardingSphere</title>
<link href="https://shardingsphere.apache.org/community/css/nucleus.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/font-awesome.min.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/hybrid.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/featherlight.min.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/perfect-scrollbar.min.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/auto-complete.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/theme.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/hugo-theme.css?1686302725" rel="stylesheet">
<link href="https://shardingsphere.apache.org/community/css/theme-white.css?1686302725" rel="stylesheet">
<script src="https://shardingsphere.apache.org/community/js/jquery-2.x.min.js?1686302725"></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?d5a1dc8dcf63a64ee55b80de01c7fb1a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HPVGEN405S"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){window.dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-HPVGEN405S');
</script>
<style type="text/css">
:root #header + #content > #left > #rlblock_left{
display:none !important;
}
</style>
</head>
<body class="" data-url="/cn/involved/release/shardingsphere-on-cloud/">
<div class="change-theme">
<div class="wrap">
<span data-item="retro">
<svg t="1649761460834" class="icon" viewBox="0 0 1243 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2052" width="16" height="16"><path d="M755.093336 61.436797a511.973304 511.973304 0 1 0 207.495466 693.650688l-99.615377-53.757197a398.827204 398.827204 0 1 1-161.637286-540.351253l53.757197-99.615378z" fill="#ffffff" p-id="2053"></path><path d="M1204.971593 188.84501L534.652259 736.217612l-285.242269-364.086159 86.304071-67.653615 216.199012 275.953611 583.649567-476.574007 69.335813 84.987568z" fill="#ffffff" p-id="2054"></path></svg>
复古
</span>
<span data-item="eyehelp">
<svg t="1649761460834" class="icon" viewBox="0 0 1243 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2052" width="16" height="16"><path d="M755.093336 61.436797a511.973304 511.973304 0 1 0 207.495466 693.650688l-99.615377-53.757197a398.827204 398.827204 0 1 1-161.637286-540.351253l53.757197-99.615378z" fill="#ffffff" p-id="2053"></path><path d="M1204.971593 188.84501L534.652259 736.217612l-285.242269-364.086159 86.304071-67.653615 216.199012 275.953611 583.649567-476.574007 69.335813 84.987568z" fill="#ffffff" p-id="2054"></path></svg>
护眼
</span>
<span data-item="haitian">
<svg t="1649761460834" class="icon" viewBox="0 0 1243 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2052" width="16" height="16"><path d="M755.093336 61.436797a511.973304 511.973304 0 1 0 207.495466 693.650688l-99.615377-53.757197a398.827204 398.827204 0 1 1-161.637286-540.351253l53.757197-99.615378z" fill="#ffffff" p-id="2053"></path><path d="M1204.971593 188.84501L534.652259 736.217612l-285.242269-364.086159 86.304071-67.653615 216.199012 275.953611 583.649567-476.574007 69.335813 84.987568z" fill="#ffffff" p-id="2054"></path></svg>
海天
</span>
<span data-item="deep">
<svg t="1649761460834" class="icon" viewBox="0 0 1243 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2052" width="16" height="16"><path d="M755.093336 61.436797a511.973304 511.973304 0 1 0 207.495466 693.650688l-99.615377-53.757197a398.827204 398.827204 0 1 1-161.637286-540.351253l53.757197-99.615378z" fill="#ffffff" p-id="2053"></path><path d="M1204.971593 188.84501L534.652259 736.217612l-285.242269-364.086159 86.304071-67.653615 216.199012 275.953611 583.649567-476.574007 69.335813 84.987568z" fill="#ffffff" p-id="2054"></path></svg>
深邃
</span>
<span data-item="dark">
<svg t="1649761460834" class="icon" viewBox="0 0 1243 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2052" width="16" height="16"><path d="M755.093336 61.436797a511.973304 511.973304 0 1 0 207.495466 693.650688l-99.615377-53.757197a398.827204 398.827204 0 1 1-161.637286-540.351253l53.757197-99.615378z" fill="#ffffff" p-id="2053"></path><path d="M1204.971593 188.84501L534.652259 736.217612l-285.242269-364.086159 86.304071-67.653615 216.199012 275.953611 583.649567-476.574007 69.335813 84.987568z" fill="#ffffff" p-id="2054"></path></svg>
暗黑
</span>
<span class="active">
<svg t="1649761460834" class="icon" viewBox="0 0 1243 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2052" width="16" height="16"><path d="M755.093336 61.436797a511.973304 511.973304 0 1 0 207.495466 693.650688l-99.615377-53.757197a398.827204 398.827204 0 1 1-161.637286-540.351253l53.757197-99.615378z" fill="#ffffff" p-id="2053"></path><path d="M1204.971593 188.84501L534.652259 736.217612l-285.242269-364.086159 86.304071-67.653615 216.199012 275.953611 583.649567-476.574007 69.335813 84.987568z" fill="#ffffff" p-id="2054"></path></svg>
默认
</span>
</div>
</div>
<header>
<div class="wrap">
<a href="https://shardingsphere.apache.org/"><img src="https://shardingsphere.apache.org/document/current/img/logo_v3.png" /></a>
<section id="prefooter">
<ul>
<li>
<a class="padding">
<i class="fa fa-fw fa-language"></i>
<div class="select-style">
<select id="select-language" onchange="location = this.value;">
<option id="en" value="/community/en/involved/release/shardingsphere-on-cloud/">English</option>
<option id="cn" value="/community/cn/involved/release/shardingsphere-on-cloud/" selected>简体中文</option>
</select>
<svg t="1645437162166" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2449" width="32" height="32"><path d="M483.072 714.496l30.165333 30.208 415.957334-415.829333a42.837333 42.837333 0 0 0 0-60.288 42.538667 42.538667 0 0 0-60.330667-0.042667l-355.541333 355.413333-355.242667-355.413333a42.496 42.496 0 0 0-60.288 0 42.837333 42.837333 0 0 0-0.085333 60.330667l383.701333 383.872 1.706667 1.749333z" fill="#3D3D3D" p-id="2450"></path></svg>
</div>
</a>
</li>
</ul>
</section>
</div>
</header>
<div class="wrap">
<nav id="sidebar" class="">
<div id="header-wrapper">
<div class="searchbox">
<label for="search-by"><i class="fa fa-search"></i></label>
<input data-search-input id="search-by" type="text" placeholder="Search...">
<span data-search-clear=""><i class="fa fa-close"></i></span>
</div>
<script type="text/javascript" src="https://shardingsphere.apache.org/community/js/lunr.min.js?1686302725"></script>
<script type="text/javascript" src="https://shardingsphere.apache.org/community/js/auto-complete.js?1686302725"></script>
<script type="text/javascript">
var baseurl = "\/cn";
</script>
<script type="text/javascript" src="https://shardingsphere.apache.org/community/js/search.js?1686302725"></script>
</div>
<div class="highlightable">
<div class="leftMenu">
<ul class="topics">
<li data-nav-id="/cn/involved/" title="参与和贡献" class="dd-item
parent
">
<a href="https://shardingsphere.apache.org/community/cn/involved/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg class="icon icon-down"
style="display: inline-block;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path>
</svg>
<svg class="icon icon-right"
style="display: none;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path>
</svg>
</i>
<b>1. </b>参与和贡献
</a>
<ul>
<li data-nav-id="/cn/involved/subscribe/" title="订阅指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/subscribe/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
订阅指南
</a>
</li>
<li data-nav-id="/cn/involved/contribute/" title="贡献指南" class="dd-item
">
<a href="https://shardingsphere.apache.org/community/cn/involved/contribute/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg class="icon icon-down"
style="display: none;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path>
</svg>
<svg class="icon icon-right"
style="display: inline-block;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path>
</svg>
</i>
贡献指南
</a>
<ul>
<li data-nav-id="/cn/involved/contribute/contributor/" title="贡献者指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/contribute/contributor/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
贡献者指南
</a>
</li>
<li data-nav-id="/cn/involved/contribute/dev-env/" title="开发环境指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/contribute/dev-env/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
开发环境指南
</a>
</li>
<li data-nav-id="/cn/involved/contribute/document/" title="文档贡献指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/contribute/document/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
文档贡献指南
</a>
</li>
</ul>
</li>
<li data-nav-id="/cn/involved/conduct/" title="贡献规约" class="dd-item
">
<a href="https://shardingsphere.apache.org/community/cn/involved/conduct/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg class="icon icon-down"
style="display: none;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path>
</svg>
<svg class="icon icon-right"
style="display: inline-block;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path>
</svg>
</i>
贡献规约
</a>
<ul>
<li data-nav-id="/cn/involved/conduct/issue/" title="Issue 提交与处理规范" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/conduct/issue/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
Issue 提交与处理规范
</a>
</li>
<li data-nav-id="/cn/involved/conduct/code/" title="开发规范" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/conduct/code/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
开发规范
</a>
</li>
<li data-nav-id="/cn/involved/conduct/document/" title="文档规范" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/conduct/document/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
文档规范
</a>
</li>
</ul>
</li>
<li data-nav-id="/cn/involved/committer/" title="提交者指南" class="dd-item
">
<a href="https://shardingsphere.apache.org/community/cn/involved/committer/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg class="icon icon-down"
style="display: none;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path>
</svg>
<svg class="icon icon-right"
style="display: inline-block;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path>
</svg>
</i>
提交者指南
</a>
<ul>
<li data-nav-id="/cn/involved/committer/responsibilities/" title="责任与工作范围" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/committer/responsibilities/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
责任与工作范围
</a>
</li>
<li data-nav-id="/cn/involved/committer/vote/" title="提交者选举流程指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/committer/vote/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
提交者选举流程指南
</a>
</li>
<li data-nav-id="/cn/involved/committer/icla/" title="签署 iCLA 指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/committer/icla/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
签署 iCLA 指南
</a>
</li>
<li data-nav-id="/cn/involved/committer/2fa/" title="2FA" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/committer/2fa/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
2FA
</a>
</li>
</ul>
</li>
<li data-nav-id="/cn/involved/release/" title="发布指南" class="dd-item
parent
">
<a href="https://shardingsphere.apache.org/community/cn/involved/release/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg class="icon icon-down"
style="display: inline-block;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M500.8 604.778667L267.306667 371.392l-45.226667 45.269333 278.741333 278.613334 278.485334-278.613334-45.248-45.248z" p-id="5376" ></path>
</svg>
<svg class="icon icon-right"
style="display: none;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#777">
<path d="M593.450667 512.128L360.064 278.613333l45.290667-45.226666 278.613333 278.762666L405.333333 790.613333l-45.226666-45.269333z" p-id="5605" ></path>
</svg>
</i>
发布指南
</a>
<ul>
<li data-nav-id="/cn/involved/release/shardingsphere/" title="ShardingSphere 发布指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/release/shardingsphere/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
ShardingSphere 发布指南
</a>
</li>
<li data-nav-id="/cn/involved/release/shardingsphere-on-cloud/" title="ShardingSphere on Cloud 发布指南" class="dd-item active">
<a href="https://shardingsphere.apache.org/community/cn/involved/release/shardingsphere-on-cloud/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
ShardingSphere on Cloud 发布指南
</a>
</li>
<li data-nav-id="/cn/involved/release/elasticjob/" title="ElasticJob 发布指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/release/elasticjob/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
ElasticJob 发布指南
</a>
</li>
<li data-nav-id="/cn/involved/release/elasticjob-ui/" title="ElasticJob UI 发布指南" class="dd-item ">
<a href="https://shardingsphere.apache.org/community/cn/involved/release/elasticjob-ui/">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
ElasticJob UI 发布指南
</a>
</li>
</ul>
</li>
</ul>
</li>
<li data-nav-id="/cn/powered-by/" title="采用公司" class="dd-item
">
<a href="https://shardingsphere.apache.org/community/cn/powered-by/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
</i>
<b>2. </b>采用公司
</a>
</li>
<li data-nav-id="/cn/team/" title="团队" class="dd-item
">
<a href="https://shardingsphere.apache.org/community/cn/team/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
</i>
<b>3. </b>团队
</a>
</li>
<li data-nav-id="/cn/security/" title="安全" class="dd-item
">
<a href="https://shardingsphere.apache.org/community/cn/security/">
<i class="collapse" style="display:inline; font-family:'courier';">
<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5375" width="20" height="20"></svg>
</i>
<b>4. </b>安全
</a>
</li>
</ul>
</div>
<a class="padding" href="https://shardingsphere.apache.org/pdf/shardingsphere_docs_cn.pdf">
下载PDF文档
</a>
<section id="footer">
<p></p>
</section>
</div>
</nav>
<section id="body">
<div id="overlay"></div>
<div class="padding highlightable">
<div>
<div id="top-bar">
<div id="top-github-link">
<a class="github-link" title='Edit this page' href="https://github.com/apache/shardingsphere/tree/master/docs/community/content/involved/release/shardingsphere-on-cloud.cn.md" target="blank">
<i class="fa fa-code-fork"></i>
<span id="top-github-link-text">Edit this page</span>
</a>
</div>
<div id="breadcrumbs" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb">
<span id="sidebar-toggle-span">
<a href="#" id="sidebar-toggle" data-sidebar-toggle="">
<i class="fa fa-bars"></i>
</a>
</span>
<span class="links">
<a href='https://shardingsphere.apache.org/community/cn/'>ShardingSphere</a> > <a href='https://shardingsphere.apache.org/community/cn/involved/'>参与和贡献</a> > <a href='https://shardingsphere.apache.org/community/cn/involved/release/'>发布指南</a> > ShardingSphere on Cloud 发布指南
</span>
</div>
</div>
</div>
<div id="chapter">
<div id="body-inner">
<nav id="TableOfContents">
<ul>
<li><a href="#准备工作">准备工作</a>
<ul>
<li><a href="#1-检查并更新-notice">1. 检查并更新 NOTICE</a></li>
<li><a href="#2-确认-release-note">2. 确认 Release Note</a></li>
<li><a href="#3-确认-issue-列表">3. 确认 Issue 列表</a></li>
<li><a href="#4-确认-pull-request-列表">4. 确认 Pull Request 列表</a></li>
<li><a href="#5-发送讨论邮件">5. 发送讨论邮件</a></li>
<li><a href="#6-关闭-milestone">6. 关闭 Milestone</a></li>
</ul>
</li>
<li><a href="#gpg-设置">GPG 设置</a>
<ul>
<li><a href="#1-安装-gpg">1. 安装 GPG</a></li>
<li><a href="#2-创建-key">2. 创建 key</a></li>
<li><a href="#3-查看生成的-key">3. 查看生成的 key</a></li>
<li><a href="#4-导出-v1-版本密钥">4. 导出 v1 版本密钥</a></li>
<li><a href="#5-将公钥同步到服务器">5. 将公钥同步到服务器</a></li>
</ul>
</li>
<li><a href="#准备发布分支">准备发布分支</a>
<ul>
<li><a href="#1-创建发布分支">1. 创建发布分支</a></li>
<li><a href="#2-更新-charts-版本及-release-notes">2. 更新 charts 版本及 release notes</a></li>
<li><a href="#3-创建发布-tag">3. 创建发布 tag</a></li>
<li><a href="#4-打包-charts">4. 打包 charts</a></li>
<li><a href="#5-github-版本预发布">5. GitHub 版本预发布</a></li>
<li><a href="#6-上传-charts">6. 上传 charts</a></li>
</ul>
</li>
<li><a href="#检查发布结果">检查发布结果</a>
<ul>
<li><a href="#1-检查-gpg-签名">1. 检查 gpg 签名</a></li>
<li><a href="#2-检查发布文件内容">2. 检查发布文件内容</a></li>
</ul>
</li>
<li><a href="#发起投票">发起投票</a></li>
<li><a href="#完成发布">完成发布</a>
<ul>
<li><a href="#1-合并-release-分支到-main合并完成后删除-release-分支">1. 合并 release 分支到 main,合并完成后删除 release 分支</a></li>
<li><a href="#2-生成并替换-indexyaml">2. 生成并替换 index.yaml</a></li>
<li><a href="#3-检查仓库制品">3. 检查仓库制品</a></li>
<li><a href="#4-github-版本发布">4. GitHub 版本发布</a></li>
<li><a href="#5-邮件通知版本发布完成">5. 邮件通知版本发布完成</a></li>
</ul>
</li>
</ul>
</nav>
<h2 id="准备工作">准备工作</h2>
<h3 id="1-检查并更新-notice">1. 检查并更新 NOTICE</h3>
<p>检查并更新 NOTICE 文件中的年份。</p>
<h3 id="2-确认-release-note">2. 确认 Release Note</h3>
<p>Release Note 需提供中文/英文两种版本,确认中英文描述是否明确,并按以下标签进行分类:</p>
<ol>
<li>新功能</li>
<li>API 变更</li>
<li>功能增强</li>
<li>漏洞修复</li>
</ol>
<h3 id="3-确认-issue-列表">3. 确认 Issue 列表</h3>
<p>打开 <a href="https://github.com/apache/shardingsphere-on-cloud/issues">Github Issues</a>,过滤 Milestone 为 <code>${RELEASE.VERSION}</code> 且状态为打开的 Issue:</p>
<ol>
<li>关闭已完成的 Issue;</li>
<li>未完成的 Issue 与负责人进行沟通,如果不影响本次发版,修改 Milestone 为下一个版本;</li>
<li>确认发布版本的 Milestone 下没有打开状态的 Issue。</li>
</ol>
<h3 id="4-确认-pull-request-列表">4. 确认 Pull Request 列表</h3>
<p>打开 <a href="https://github.com/apache/shardingsphere-on-cloud/pulls">Github Pull requests</a>,过滤 Milestone 为 <code>${RELEASE.VERSION}</code> 且状态为打开的 Pull Request:</p>
<ol>
<li>对打开的 Pull Request 进行 Review 并且 Merge;</li>
<li>无法 Merge 且不影响本次发版的 Pull Request,修改 Milestone 为下一个版本;</li>
<li>确认发布版本的 Milestone 下没有打开状态的 Pull Request。</li>
</ol>
<h3 id="5-发送讨论邮件">5. 发送讨论邮件</h3>
<ol>
<li>发送邮件至 <a href="mailto:dev@shardingsphere.apache.org">dev@shardingsphere.apache.org</a>,在邮件正文中链接 GitHub Discussion;</li>
<li>关注邮件列表,确认社区开发者对 Release Note 没有任何疑问。</li>
</ol>
<h3 id="6-关闭-milestone">6. 关闭 Milestone</h3>
<p>打开 <a href="https://github.com/apache/shardingsphere-on-cloud/milestones">Github Milestone</a></p>
<ol>
<li>确认 <code>${RELEASE.VERSION}</code> 的 Milestone 完成状态为 100%;</li>
<li>点击 <code>Close</code> 关闭 Milestone。</li>
</ol>
<h2 id="gpg-设置">GPG 设置</h2>
<h3 id="1-安装-gpg">1. 安装 GPG</h3>
<p><a href="https://www.gnupg.org/download/index.html">GnuPG 官网</a>下载安装包。
GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 <code>GnuPG-2.1.23</code> 版本为例。</p>
<p>安装完成后,执行以下命令查看版本号。</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">gpg --version
</code></pre></div><h3 id="2-创建-key">2. 创建 key</h3>
<p>安装完成后,执行以下命令创建 key。</p>
<p><code>GnuPG-2.x</code> 可使用:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">gpg --full-gen-key
</code></pre></div><p><code>GnuPG-1.x</code> 可使用:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">gpg --gen-key
</code></pre></div><p>根据提示完成 key:</p>
<blockquote>
<p>注意:请使用个人 Apache 邮箱生成 GPG 的 Key。</p>
</blockquote>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">gpg <span style="color:#f92672">(</span>GnuPG<span style="color:#f92672">)</span> 2.0.12; Copyright <span style="color:#f92672">(</span>C<span style="color:#f92672">)</span> <span style="color:#ae81ff">2009</span> Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Please <span style="color:#66d9ef">select</span> what kind of key you want:
<span style="color:#f92672">(</span>1<span style="color:#f92672">)</span> RSA and RSA <span style="color:#f92672">(</span>default<span style="color:#f92672">)</span>
<span style="color:#f92672">(</span>2<span style="color:#f92672">)</span> DSA and Elgamal
<span style="color:#f92672">(</span>3<span style="color:#f92672">)</span> DSA <span style="color:#f92672">(</span>sign only<span style="color:#f92672">)</span>
<span style="color:#f92672">(</span>4<span style="color:#f92672">)</span> RSA <span style="color:#f92672">(</span>sign only<span style="color:#f92672">)</span>
Your selection? <span style="color:#ae81ff">1</span>
RSA keys may be between <span style="color:#ae81ff">1024</span> and <span style="color:#ae81ff">4096</span> bits long.
What keysize <span style="color:#66d9ef">do</span> you want? <span style="color:#f92672">(</span>2048<span style="color:#f92672">)</span> <span style="color:#ae81ff">4096</span>
Requested keysize is <span style="color:#ae81ff">4096</span> bits
Please specify how long the key should be valid.
0 <span style="color:#f92672">=</span> key does not expire
&lt;n&gt; <span style="color:#f92672">=</span> key expires in n days
&lt;n&gt;w <span style="color:#f92672">=</span> key expires in n weeks
&lt;n&gt;m <span style="color:#f92672">=</span> key expires in n months
&lt;n&gt;y <span style="color:#f92672">=</span> key expires in n years
Key is valid <span style="color:#66d9ef">for</span>? <span style="color:#f92672">(</span>0<span style="color:#f92672">)</span>
Key does not expire at all
Is this correct? <span style="color:#f92672">(</span>y/N<span style="color:#f92672">)</span> y
GnuPG needs to construct a user ID to identify your key.
Real name: <span style="color:#e6db74">${</span>输入用户名<span style="color:#e6db74">}</span>
Email address: <span style="color:#e6db74">${</span>输入邮件地址<span style="color:#e6db74">}</span>
Comment: <span style="color:#e6db74">${</span>输入注释<span style="color:#e6db74">}</span>
You selected this USER-ID:
<span style="color:#e6db74">&#34;</span><span style="color:#e6db74">${</span>输入的用户名<span style="color:#e6db74">}</span><span style="color:#e6db74"> (</span><span style="color:#e6db74">${</span>输入的注释<span style="color:#e6db74">}</span><span style="color:#e6db74">) &lt;</span><span style="color:#e6db74">${</span>输入的邮件地址<span style="color:#e6db74">}</span><span style="color:#e6db74">&gt;&#34;</span>
Change <span style="color:#f92672">(</span>N<span style="color:#f92672">)</span>ame, <span style="color:#f92672">(</span>C<span style="color:#f92672">)</span>omment, <span style="color:#f92672">(</span>E<span style="color:#f92672">)</span>mail or <span style="color:#f92672">(</span>O<span style="color:#f92672">)</span>kay/<span style="color:#f92672">(</span>Q<span style="color:#f92672">)</span>uit? O
You need a Passphrase to protect your secret key. <span style="color:#75715e"># 输入密码</span>
</code></pre></div><h3 id="3-查看生成的-key">3. 查看生成的 key</h3>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">gpg --list-keys
</code></pre></div><p>执行结果:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">pub 4096R/700E6065 2019-03-20
uid <span style="color:#e6db74">${</span>用户名<span style="color:#e6db74">}</span> <span style="color:#f92672">(</span><span style="color:#e6db74">${</span>注释<span style="color:#e6db74">}</span><span style="color:#f92672">)</span> &lt;<span style="color:#f92672">{</span>邮件地址<span style="color:#f92672">}</span>&gt;
sub 4096R/0B7EF5B2 2019-03-20
</code></pre></div><p>其中 700E6065 为公钥 ID。</p>
<p>或者使用 <code>gpg --list-sigs</code> 查看。</p>
<h3 id="4-导出-v1-版本密钥">4. 导出 v1 版本密钥</h3>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">gpg --export &gt;~/.gnupg/pubring.gpg
gpg --export-secret-keys &gt;~/.gnupg/secring.gpg
</code></pre></div><h3 id="5-将公钥同步到服务器">5. 将公钥同步到服务器</h3>
<p>命令如下:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">gpg --keyserver hkp://keyserver.ubuntu.com --send-key 700E6065
</code></pre></div><p><code>keyserver.ubuntu.com</code> 为随意挑选的公钥服务器,每个服务器之间是自动同步的,选任意一个即可。</p>
<h2 id="准备发布分支">准备发布分支</h2>
<h3 id="1-创建发布分支">1. 创建发布分支</h3>
<p>假设从 Github 下载的 <code>ShardingSphere on Cloud</code> 源代码在 <code>~/shardingsphere-on-cloud/</code> 目录;假设即将发布的版本为 <code>${RELEASE.VERSION}</code>
创建 <code>${RELEASE.VERSION}-release</code> 分支,接下来的操作都在该分支进行。</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#75715e">## ${name} 为源码所在分支,如:master,dev-4.x</span>
git clone --branch <span style="color:#e6db74">${</span>name<span style="color:#e6db74">}</span> https://github.com/apache/shardingsphere-on-cloud.git ~/shardingsphere-on-cloud
cd ~/shardingsphere-on-cloud/
git pull
git checkout -b <span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span>-release
git push origin <span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span>-release
</code></pre></div><h3 id="2-更新-charts-版本及-release-notes">2. 更新 charts 版本及 release notes</h3>
<p>在发布分支上更新文件中的版本,包括:<code>Chart.yaml</code><code>values.yaml</code>、文档。示例:</p>
<pre><code>~/shardingsphere-on-cloud/charts/apache-shardingsphere-operator-charts/Chart.yaml
~/shardingsphere-on-cloud/charts/apache-shardingsphere-proxy-charts/Chart.yaml
</code></pre><p><code>version</code> 修改为 <code>${RELEASE.VERSION}</code><code>appVersion</code> 修改为对应的应用版本,并提交 PR 到发布分支。</p>
<p>更新 <code>RELEASE-NOTES.md</code></p>
<h3 id="3-创建发布-tag">3. 创建发布 tag</h3>
<p>在发布分支上创建发布 tag,并推送到远程仓库。</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">git tag <span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span>
git push origin <span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span>
</code></pre></div><h3 id="4-打包-charts">4. 打包 charts</h3>
<p>打包 charts 之前需要通过 <code>helm dependency build</code> 命令下载依赖的包,然后再对 charts 进行打包,具体操作步骤如下:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">cd ~/shardingsphere-on-cloud/charts/apache-shardingsphere-operator-charts
helm dependency build
cd ~/shardingsphere-on-cloud/charts/apache-shardingsphere-proxy-charts/charts/governance
helm dependency build
cd ~/shardingsphere-on-cloud/charts/apache-shardingsphere-proxy-charts
helm dependency build
cd ~/shardingsphere-on-cloud/charts
helm package --sign --key <span style="color:#e6db74">&#39;${GPG 用户名}&#39;</span> --keyring ~/.gnupg/secring.gpg apache-shardingsphere-operator-charts
helm package --sign --key <span style="color:#e6db74">&#39;${GPG 用户名}&#39;</span> --keyring ~/.gnupg/secring.gpg apache-shardingsphere-proxy-charts
</code></pre></div><h3 id="5-github-版本预发布">5. GitHub 版本预发布</h3>
<p><a href="https://github.com/apache/shardingsphere/releases">GitHub Releases</a> 页面创建新版本。</p>
<p>编辑版本号及版本说明,选择 <code>Set as a pre-release</code>,并点击 <code>Publish release</code></p>
<h3 id="6-上传-charts">6. 上传 charts</h3>
<p>上传前面生成的 tgz 文件至 GitHub release 的 Assets 下。</p>
<h2 id="检查发布结果">检查发布结果</h2>
<h3 id="1-检查-gpg-签名">1. 检查 gpg 签名</h3>
<p>首先导入发布人公钥。从 svn 仓库导入 KEYS 到本地环境。(发布版本的人不需要再导入,帮助做验证的人需要导入,用户名填发版人的即可)</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">curl https://dist.apache.org/repos/dist/dev/shardingsphere/KEYS &gt;&gt; KEYS
gpg --import KEYS
gpg --edit-key <span style="color:#e6db74">&#34;</span><span style="color:#e6db74">${</span>发布人的 gpg 用户名<span style="color:#e6db74">}</span><span style="color:#e6db74">&#34;</span>
&gt; trust
Please decide how far you trust this user to correctly verify other users<span style="color:#e6db74">&#39; keys
</span><span style="color:#e6db74">(by looking at passports, checking fingerprints from different sources, etc.)
</span><span style="color:#e6db74">
</span><span style="color:#e6db74"> 1 = I don&#39;</span>t know or won<span style="color:#960050;background-color:#1e0010">&#39;</span>t say
2 <span style="color:#f92672">=</span> I <span style="color:#66d9ef">do</span> NOT trust
3 <span style="color:#f92672">=</span> I trust marginally
4 <span style="color:#f92672">=</span> I trust fully
5 <span style="color:#f92672">=</span> I trust ultimately
m <span style="color:#f92672">=</span> back to the main menu
Your decision? <span style="color:#ae81ff">5</span>
&gt; save
</code></pre></div><p>下载所有 prov 文件和 tgz 文件,然后进行 gpg 签名检查。</p>
<p>Bash 可以使用以下命令检查签名:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell"><span style="color:#66d9ef">for</span> each in <span style="color:#66d9ef">$(</span>ls *.tgz<span style="color:#66d9ef">)</span>; <span style="color:#66d9ef">do</span> helm verify $each; <span style="color:#66d9ef">done</span>
</code></pre></div><p>或逐个文件检查:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">helm verify apache-shardingsphere-operator-<span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span>.tgz
helm verify apache-shardingsphere-operator-cluster-<span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span>.tgz
helm verify apache-shardingsphere-proxy-<span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span>.tgz
</code></pre></div><h3 id="2-检查发布文件内容">2. 检查发布文件内容</h3>
<p>解压缩</p>
<ul>
<li><code>apache-shardingsphere-operator-charts-${RELEASE.VERSION}.tgz</code></li>
<li><code>apache-shardingsphere-proxy-charts-${RELEASE.VERSION}.tgz</code></li>
</ul>
<p>进行如下检查:</p>
<ul>
<li>存在 <code>LICENSE</code><code>NOTICE</code> 文件;</li>
<li><code>NOTICE</code> 文件中的年份正确;</li>
<li>所有文本文件开头都有 ASF 许可证,以下文件除外:
<ul>
<li>所有 Chart.yaml</li>
<li>所有 Chart.lock</li>
</ul>
</li>
<li>检查第三方依赖许可证:
<ul>
<li>第三方依赖的许可证兼容;</li>
<li>所有第三方依赖的许可证都在 <code>LICENSE</code> 文件中声明;</li>
<li>依赖许可证的完整版全部在 <code>license</code> 目录;</li>
<li>如果依赖的是 Apache 许可证并且存在 <code>NOTICE</code> 文件,那么这些 <code>NOTICE</code> 文件也需要加入到版本的 <code>NOTICE</code> 文件中。</li>
</ul>
</li>
</ul>
<h2 id="发起投票">发起投票</h2>
<p><strong>投票阶段</strong></p>
<ol>
<li>
<p>ShardingSphere 社区投票,发起投票邮件到 <code>dev@shardingsphere.apache.org</code>。PMC 需要先按照文档检查版本的正确性,然后再进行投票。
经过至少 <strong>72 小时</strong> 并统计到 <strong>3 个 <code>+1 PMC member</code></strong> 票后,即可进入下一阶段的投票。</p>
</li>
<li>
<p>宣布投票结果,发起投票结果邮件到 <a href="mailto:dev@shardingsphere.apache.org">dev@shardingsphere.apache.org</a></p>
</li>
</ol>
<p><strong>投票模板</strong></p>
<ol>
<li>ShardingSphere 社区投票模板</li>
</ol>
<p>标题:</p>
<pre><code>[VOTE] Release Apache ShardingSphere on Cloud ${RELEASE.VERSION}
</code></pre><p>正文:</p>
<pre><code>Hello ShardingSphere Community,
This is a call for vote to release Apache ShardingSphere on Cloud version ${RELEASE.VERSION}
Release notes:
https://github.com/apache/shardingsphere-on-cloud/blob/${RELEASE.VERSION}-release/RELEASE-NOTES.md
The release candidates:
https://github.com/apache/shardingsphere-on-cloud/releases/tag/${RELEASE.VERSION}
Git tag for the release:
https://github.com/apache/shardingsphere-on-cloud/tree/${RELEASE.VERSION}/
Release Commit ID:
https://github.com/apache/shardingsphere-on-cloud/commit/xxxxxxxxxxxxxxxxxxxxxxx
Keys to verify the Release Candidate:
https://dist.apache.org/repos/dist/dev/shardingsphere/KEYS
Look at here for how to verify this release candidate:
https://shardingsphere.apache.org/community/en/involved/release/shardingsphere-on-cloud/
GPG user ID:
${YOUR.GPG.USER.ID}
The vote will be open for at least 72 hours or until necessary number of votes are reached.
Please vote accordingly:
[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove with the reason
PMC vote is +1 binding, all others is +1 non-binding.
Checklist for reference:
[ ] Checksums and PGP signatures are valid.
[ ] LICENSE and NOTICE files are correct for each ShardingSphere on Cloud repo.
[ ] All files have license headers if necessary.
</code></pre><ol start="2">
<li>宣布投票结果模板:</li>
</ol>
<p>标题:</p>
<pre><code>[RESULT][VOTE] Release Apache ShardingSphere on Cloud ${RELEASE.VERSION}
</code></pre><p>正文:</p>
<pre><code>We’ve received 3 +1 binding votes and one +1 non-binding vote:
+1 binding, xxx
+1 binding, xxx
+1 binding, xxx
+1 non-binding, xxx
Thank you everyone for taking the time to review the release and help us.
I will process to publish the release and send ANNOUNCE.
</code></pre><h2 id="完成发布">完成发布</h2>
<h3 id="1-合并-release-分支到-main合并完成后删除-release-分支">1. 合并 release 分支到 main,合并完成后删除 release 分支</h3>
<p>提交 PR 到 GitHub,将分支 <code>${RELEASE.VERSION}-release</code> 合并到 <code>main</code></p>
<h3 id="2-生成并替换-indexyaml">2. 生成并替换 index.yaml</h3>
<ol>
<li>生成 index.yaml</li>
</ol>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">cd ~/shardingsphere-on-cloud/charts
mkdir release
mv *.tgz release
git checkout gh-pages
cd release
mv ~/shardingsphere-on-cloud/index.yaml .
helm repo index --url https://github.com/apache/shardingsphere-on-cloud/releases/download/<span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span> . --merge index.yaml
</code></pre></div><p>检查 index.yaml 新生成的 url 是否可用。</p>
<ol start="2">
<li>替换原有的 index.yaml</li>
</ol>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">cp index.yaml ~/shardingsphere-on-cloud/index.yaml
</code></pre></div><p>提交 PR 到 GitHub 并合并到 <code>gh-pages</code> 分支。</p>
<h3 id="3-检查仓库制品">3. 检查仓库制品</h3>
<p>更新仓库并查询:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">helm repo remove apache
helm repo add apache https://apache.github.io/shardingsphere-on-cloud
helm search repo apache
</code></pre></div><p><code>helm repo add</code><code>helm search repo -l</code> 会根据 index.yaml 中的校验值进行校验。</p>
<p>如果查询到以下两个制品并且版本号正确,即为发布成功:</p>
<div class="highlight"><pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-shell" data-lang="shell">NAME CHART VERSION APP VERSION DESCRIPTION
apache/apache-shardingsphere-operator-charts <span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span> xxx A Helm chart <span style="color:#66d9ef">for</span> ShardingSphere-Operator
apache/apache-shardingsphere-proxy-charts <span style="color:#e6db74">${</span>RELEASE.VERSION<span style="color:#e6db74">}</span> xxx A Helm chart <span style="color:#66d9ef">for</span> ShardingSphere-Proxy-Cluster
</code></pre></div><h3 id="4-github-版本发布">4. GitHub 版本发布</h3>
<p><a href="https://github.com/apache/shardingsphere/releases">GitHub Releases</a> 页面编辑最新版本, 选择 <code>Set as the latest release</code>,并点击 <code>Update release</code></p>
<h3 id="5-邮件通知版本发布完成">5. 邮件通知版本发布完成</h3>
<p>使用<strong>纯文本模式</strong>发送邮件到 <code>dev@shardingsphere.apache.org</code><code>announce@apache.org</code> 通知完成版本发布。</p>
<p>通知邮件模板:</p>
<p>标题:</p>
<pre><code>[ANNOUNCE] Apache ShardingSphere on Cloud ${RELEASE.VERSION} available
</code></pre><p>正文:</p>
<pre><code>Hi all,
Apache ShardingSphere Team is glad to announce the new release of Apache ShardingSphere on Cloud ${RELEASE.VERSION}.
The shardingsphere-on-cloud project, including ShardingSphere Operator, Helm Charts, and other cloud solutions, aims at enhancing the deployment and management capabilities of Apache ShardingSphere Proxy on the cloud.
ShardingSphere Operator is a Kubernetes software extension written with the Operator extension pattern of Kubernetes. ShardingSphere Operator can be used to quickly deploy an Apache ShardingSphere Proxy cluster in the Kubernetes environment and manage the entire cluster life cycle.
Download Links: https://github.com/apache/shardingsphere-on-cloud/releases/tag/${RELEASE.VERSION}
Release Notes: https://github.com/apache/shardingsphere-on-cloud/blob/master/RELEASE-NOTES.md
Website: https://shardingsphere.apache.org/
ShardingSphere on Cloud Resources:
- Issue: https://github.com/apache/shardingsphere-on-cloud/issues/
- Mailing list: dev@shardingsphere.apache.org
- Documents: https://shardingsphere.apache.org/oncloud/current/en/overview/
- Apache ShardingSphere Team
</code></pre>
<footer class=" footline" >
</footer>
</div>
</div>
</div>
<div id="navigation" >
<a class="nav nav-prev" href="https://shardingsphere.apache.org/community/cn/involved/release/shardingsphere/" title="ShardingSphere 发布指南"> <i class="fa fa-long-arrow-left fa-lg"></i> 上一篇</a>
<a class="nav nav-next" href="https://shardingsphere.apache.org/community/cn/involved/release/elasticjob/" title="ElasticJob 发布指南" style="margin-right: 0px;">下一篇 <i class="fa fa-long-arrow-right fa-lg"></i></a>
</div>
</section>
</div>
<div style="left: -1000px; overflow: scroll; position: absolute; top: -1000px; border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;">
<div style="border: none; box-sizing: content-box; height: 200px; margin: 0px; padding: 0px; width: 200px;"></div>
</div>
<script src="https://shardingsphere.apache.org/community/js/clipboard.min.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/perfect-scrollbar.min.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/perfect-scrollbar.jquery.min.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/jquery.sticky.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/featherlight.min.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/html5shiv-printshiv.min.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/highlight.pack.js?1686302725"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script src="https://shardingsphere.apache.org/community/js/modernizr.custom.71422.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/learn.js?1686302725"></script>
<script src="https://shardingsphere.apache.org/community/js/hugo-learn.js?1686302725"></script>
<script>
try{
function log(fileName, category, locale){
window._hmt.push(['_trackEvent', 'document', 'download', locale ? 'PDF_'+locale : fileName]);
gtag('event', 'Downloads', {
'event_category' : locale ? 'PDF' : category,
'event_label' : locale ? locale+'.pdf' : fileName
});
}
$('.padding[href*=shardingsphere]').on('click', function(){
var locale = /cn/.test(location.pathname) ?'cn':'en';
log('','', locale)
})
function getFileName(str){
var strs = str.split('/');
return strs[strs.length - 1]
}
$('a[href$="src.zip"]').on('click', function(){
log(getFileName($(this).attr('href')), "SRC")
})
$('a[href$="zip.asc"]').on('click', function(){
log(getFileName($(this).attr('href')), "ASC")
})
$('a[href$="zip.sha512"]').on('click', function(){
log(getFileName($(this).attr('href')), "SHA512")
})
$('a[href$="tar.gz.asc"]').on('click', function(){
log(getFileName($(this).attr('href')), "ASC")
})
$('a[href$="tar.gz.sha512"]').on('click', function(){
log(getFileName($(this).attr('href')), "SHA512")
})
$('a[href$="tar.gz"]').on('click', function(){
log(getFileName($(this).attr('href')), "TAR")
})
}catch(ex){}
</script>
</body>
</html>