| 1 |
|
| 2 |
<!DOCTYPE html> |
| 3 |
|
| 4 |
|
| 5 |
<html lang="en" data-content_root="../../" > |
| 6 |
|
| 7 |
<head> |
| 8 |
<meta charset="utf-8" /> |
| 9 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 10 |
|
| 11 |
<title>12.3.7. リリース手順 — Groonga v16.0.9 documentation</title> |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
<script data-cfasync="false"> |
| 16 |
document.documentElement.dataset.mode = localStorage.getItem("mode") || ""; |
| 17 |
document.documentElement.dataset.theme = localStorage.getItem("theme") || ""; |
| 18 |
</script> |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
<noscript> |
| 23 |
<style> |
| 24 |
.pst-js-only { display: none !important; } |
| 25 |
|
| 26 |
</style> |
| 27 |
</noscript> |
| 28 |
|
| 29 |
|
| 30 |
<link href="../../_static/styles/theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 31 |
<link href="../../_static/styles/pydata-sphinx-theme.css?digest=90905a2f556bf617f1a9" rel="stylesheet" /> |
| 32 |
|
| 33 |
<link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=8f2a1f02" /> |
| 34 |
|
| 35 |
|
| 36 |
<script defer src="../../_static/scripts/fontawesome.js?digest=90905a2f556bf617f1a9"></script> |
| 37 |
|
| 38 |
<link rel="preload" as="script" href="../../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9" /> |
| 39 |
<link rel="preload" as="script" href="../../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9" /> |
| 40 |
|
| 41 |
<script src="../../_static/documentation_options.js?v=2fcb8d4f"></script> |
| 42 |
<script src="../../_static/doctools.js?v=fd6eb6e6"></script> |
| 43 |
<script src="../../_static/sphinx_highlight.js?v=6ffebe34"></script> |
| 44 |
<script> |
| 45 |
window.dataLayer = window.dataLayer || []; |
| 46 |
function gtag(){ dataLayer.push(arguments); } |
| 47 |
gtag('consent', 'default', { |
| 48 |
'ad_storage': 'denied', |
| 49 |
'ad_user_data': 'denied', |
| 50 |
'ad_personalization': 'denied', |
| 51 |
'analytics_storage': 'denied' |
| 52 |
}); |
| 53 |
</script> |
| 54 |
<script async="async" src="https://www.googletagmanager.com/gtag/js?id=G-MDK38RHNPW"></script> |
| 55 |
<script> |
| 56 |
window.dataLayer = window.dataLayer || []; |
| 57 |
function gtag(){dataLayer.push(arguments);} |
| 58 |
gtag('js', new Date()); |
| 59 |
gtag('config', 'G-MDK38RHNPW'); |
| 60 |
</script> |
| 61 |
<script>DOCUMENTATION_OPTIONS.pagename = 'contribution/development/release';</script> |
| 62 |
<script> |
| 63 |
DOCUMENTATION_OPTIONS.theme_version = '0.20.0'; |
| 64 |
DOCUMENTATION_OPTIONS.theme_switcher_json_url = 'https://groonga.org/docs/_static/switcher.json'; |
| 65 |
DOCUMENTATION_OPTIONS.theme_switcher_version_match = 'english'; |
| 66 |
DOCUMENTATION_OPTIONS.show_version_warning_banner = |
| 67 |
false; |
| 68 |
</script> |
| 69 |
<script>DOCUMENTATION_OPTIONS.search_as_you_type = false;</script> |
| 70 |
<link rel="icon" href="../../_static/favicon.ico"/> |
| 71 |
<link rel="index" title="Index" href="../../genindex.html" /> |
| 72 |
<link rel="search" title="Search" href="../../search.html" /> |
| 73 |
<link rel="next" title="12.3.8. テスト方法" href="test.html" /> |
| 74 |
<link rel="prev" title="12.3.5. クエリの実現" href="query.html" /> |
| 75 |
<meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 76 |
<meta name="docsearch:language" content="en"/> |
| 77 |
<meta name="docsearch:version" content="16.0.9" /> |
| 78 |
|
| 79 |
|
| 80 |
<script src="../../_static/searchtools.js"></script> |
| 81 |
<script src="../../_static/language_data.js"></script> |
| 82 |
<script src="../../searchindex.js"></script> |
| 83 |
|
| 84 |
</head> |
| 85 |
<body data-default-mode=""> |
| 86 |
|
| 87 |
|
| 88 |
<div id="pst-skip-link" class="skip-link d-print-none"><a href="#main-content">Skip to main content</a></div> |
| 89 |
|
| 90 |
|
| 91 |
<div id="pst-scroll-pixel-helper"></div> |
| 92 |
|
| 93 |
<button type="button" class="btn rounded-pill" id="pst-back-to-top"> |
| 94 |
<i class="fa-solid fa-arrow-up"></i>Back to top</button> |
| 95 |
|
| 96 |
|
| 97 |
|
| 98 |
|
| 99 |
<dialog id="pst-search-dialog"> |
| 100 |
|
| 101 |
<form class="bd-search d-flex align-items-center" |
| 102 |
action="../../search.html" |
| 103 |
method="get"> |
| 104 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 105 |
<input type="search" |
| 106 |
class="form-control" |
| 107 |
name="q" |
| 108 |
placeholder="Search the docs ..." |
| 109 |
aria-label="Search the docs ..." |
| 110 |
autocomplete="off" |
| 111 |
autocorrect="off" |
| 112 |
autocapitalize="off" |
| 113 |
spellcheck="false"/> |
| 114 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> |
| 115 |
</form> |
| 116 |
</dialog> |
| 117 |
|
| 118 |
<div class="pst-async-banner-revealer d-none"> |
| 119 |
<aside id="bd-header-version-warning" class="d-none d-print-none" aria-label="Version warning"></aside> |
| 120 |
</div> |
| 121 |
|
| 122 |
|
| 123 |
<header id="pst-header" class="bd-header navbar navbar-expand-lg bd-navbar d-print-none"> |
| 124 |
<div class="bd-header__inner bd-page-width"> |
| 125 |
<button class="pst-navbar-icon sidebar-toggle primary-toggle" aria-label="Site navigation"> |
| 126 |
<span class="fa-solid fa-bars"></span> |
| 127 |
</button> |
| 128 |
|
| 129 |
|
| 130 |
<div class="col-lg-3 navbar-header-items__start"> |
| 131 |
|
| 132 |
<div class="navbar-item"> |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
<a class="navbar-brand logo" href="https://groonga.org/"> |
| 139 |
|
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
|
| 148 |
|
| 149 |
<img src="../../_static/groonga.png" class="logo__image only-light" alt="Groonga v16.0.9 documentation - Home"/> |
| 150 |
<img src="../../_static/groonga.png" class="logo__image only-dark pst-js-only" alt="Groonga v16.0.9 documentation - Home"/> |
| 151 |
|
| 152 |
|
| 153 |
</a></div> |
| 154 |
|
| 155 |
</div> |
| 156 |
|
| 157 |
<div class="col-lg-9 navbar-header-items"> |
| 158 |
|
| 159 |
|
| 160 |
<div class="navbar-header-items__end"> |
| 161 |
|
| 162 |
<div class="navbar-item navbar-persistent--container"> |
| 163 |
|
| 164 |
|
| 165 |
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 166 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 167 |
<span class="search-button__default-text">Search</span> |
| 168 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 169 |
</button> |
| 170 |
</div> |
| 171 |
|
| 172 |
|
| 173 |
<div class="navbar-item"> |
| 174 |
|
| 175 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 176 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 177 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 178 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 179 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 180 |
</button> |
| 181 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 182 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li> |
| 183 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li> |
| 184 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li> |
| 185 |
</ul> |
| 186 |
</div></div> |
| 187 |
|
| 188 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 189 |
aria-label="Icon Links"> |
| 190 |
<li class="nav-item"> |
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|
| 195 |
|
| 196 |
|
| 197 |
|
| 198 |
|
| 199 |
<a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a> |
| 200 |
</li> |
| 201 |
<li class="nav-item"> |
| 202 |
|
| 203 |
|
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
<a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a> |
| 211 |
</li> |
| 212 |
<li class="nav-item"> |
| 213 |
|
| 214 |
|
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
|
| 220 |
|
| 221 |
<a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a> |
| 222 |
</li> |
| 223 |
</ul></div> |
| 224 |
|
| 225 |
<div class="navbar-item"> |
| 226 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 227 |
<button id="pst-version-switcher-button-2" |
| 228 |
type="button" |
| 229 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 230 |
data-bs-toggle="dropdown" |
| 231 |
aria-haspopup="listbox" |
| 232 |
aria-controls="pst-version-switcher-list-2" |
| 233 |
aria-label="Version switcher list" |
| 234 |
> |
| 235 |
Choose version |
| 236 |
<span class="caret"></span> |
| 237 |
</button> |
| 238 |
<div id="pst-version-switcher-list-2" |
| 239 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 240 |
role="listbox" aria-labelledby="pst-version-switcher-button-2"> |
| 241 |
|
| 242 |
</div> |
| 243 |
</div></div> |
| 244 |
|
| 245 |
</div> |
| 246 |
|
| 247 |
</div> |
| 248 |
|
| 249 |
|
| 250 |
<div class="navbar-persistent--mobile"> |
| 251 |
|
| 252 |
<button class="btn search-button-field search-button__button pst-js-only" title="Search" aria-label="Search" data-bs-placement="bottom" data-bs-toggle="tooltip"> |
| 253 |
<i class="fa-solid fa-magnifying-glass"></i> |
| 254 |
<span class="search-button__default-text">Search</span> |
| 255 |
<span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd class="kbd-shortcut__modifier">K</kbd></span> |
| 256 |
</button> |
| 257 |
</div> |
| 258 |
|
| 259 |
|
| 260 |
|
| 261 |
<button class="pst-navbar-icon sidebar-toggle secondary-toggle" aria-label="On this page"> |
| 262 |
<span class="fa-solid fa-outdent"></span> |
| 263 |
</button> |
| 264 |
|
| 265 |
</div> |
| 266 |
|
| 267 |
</header> |
| 268 |
|
| 269 |
|
| 270 |
<div class="bd-container"> |
| 271 |
<div class="bd-container__inner bd-page-width"> |
| 272 |
|
| 273 |
|
| 274 |
|
| 275 |
<dialog id="pst-primary-sidebar-modal"></dialog> |
| 276 |
<div id="pst-primary-sidebar" class="bd-sidebar-primary bd-sidebar"> |
| 277 |
|
| 278 |
|
| 279 |
|
| 280 |
<div class="sidebar-header-items sidebar-primary__section"> |
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
|
| 285 |
<div class="sidebar-header-items__end"> |
| 286 |
|
| 287 |
<div class="navbar-item"> |
| 288 |
|
| 289 |
<div class="theme-switch-container dropdown pst-js-only" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Color mode"> |
| 290 |
<button class="btn btn-sm nav-link pst-navbar-icon theme-switch-button dropdown-toggle" aria-label="Color mode" data-bs-toggle="dropdown"> |
| 291 |
<i class="theme-switch fa-solid fa-sun fa-lg fa-fw" data-mode="light" title="Light"></i> |
| 292 |
<i class="theme-switch fa-solid fa-moon fa-lg fa-fw" data-mode="dark" title="Dark"></i> |
| 293 |
<i class="theme-switch fa-solid fa-circle-half-stroke fa-lg fa-fw" data-mode="auto" title="System Settings"></i> |
| 294 |
</button> |
| 295 |
<ul class="dropdown-menu dropdown-menu-end"> |
| 296 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="auto"><i class="fa-solid fa-circle-half-stroke fa-lg fa-fw me-1"></i>System Settings</button></li> |
| 297 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="light"><i class="fa-solid fa-sun fa-lg fa-fw me-1"></i>Light</button></li> |
| 298 |
<li><button class="dropdown-item d-flex align-items-center theme-change-button" data-mode="dark"><i class="fa-solid fa-moon fa-lg fa-fw me-1"></i>Dark</button></li> |
| 299 |
</ul> |
| 300 |
</div></div> |
| 301 |
|
| 302 |
<div class="navbar-item"><ul class="navbar-icon-links" |
| 303 |
aria-label="Icon Links"> |
| 304 |
<li class="nav-item"> |
| 305 |
|
| 306 |
|
| 307 |
|
| 308 |
|
| 309 |
|
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
<a href="https://github.com/groonga/groonga" title="GitHub" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-github fa-lg" aria-hidden="true"></i><span class="visually-hidden">GitHub</span></a> |
| 314 |
</li> |
| 315 |
<li class="nav-item"> |
| 316 |
|
| 317 |
|
| 318 |
|
| 319 |
|
| 320 |
|
| 321 |
|
| 322 |
|
| 323 |
|
| 324 |
<a href="https://twitter.com/groonga" title="Twitter" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fa-brands fa-square-twitter fa-lg" aria-hidden="true"></i><span class="visually-hidden">Twitter</span></a> |
| 325 |
</li> |
| 326 |
<li class="nav-item"> |
| 327 |
|
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
|
| 335 |
<a href="/blog" title="Blog" class="nav-link pst-navbar-icon" rel="noopener" target="_blank" data-bs-toggle="tooltip" data-bs-placement="bottom"><i class="fas fa-blog fa-lg" aria-hidden="true"></i><span class="visually-hidden">Blog</span></a> |
| 336 |
</li> |
| 337 |
</ul></div> |
| 338 |
|
| 339 |
<div class="navbar-item"> |
| 340 |
<div class="version-switcher__container dropdown pst-js-only"> |
| 341 |
<button id="pst-version-switcher-button-3" |
| 342 |
type="button" |
| 343 |
class="version-switcher__button btn btn-sm dropdown-toggle" |
| 344 |
data-bs-toggle="dropdown" |
| 345 |
aria-haspopup="listbox" |
| 346 |
aria-controls="pst-version-switcher-list-3" |
| 347 |
aria-label="Version switcher list" |
| 348 |
> |
| 349 |
Choose version |
| 350 |
<span class="caret"></span> |
| 351 |
</button> |
| 352 |
<div id="pst-version-switcher-list-3" |
| 353 |
class="version-switcher__menu dropdown-menu list-group-flush py-0" |
| 354 |
role="listbox" aria-labelledby="pst-version-switcher-button-3"> |
| 355 |
|
| 356 |
</div> |
| 357 |
</div></div> |
| 358 |
|
| 359 |
</div> |
| 360 |
|
| 361 |
</div> |
| 362 |
|
| 363 |
<div class="sidebar-primary-items__start sidebar-primary__section"> |
| 364 |
<div class="sidebar-primary-item pst-sidebar-collapse"><button id="pst-collapse-sidebar-button" aria-expanded="true" aria-controls="pst-primary-sidebar"> |
| 365 |
<svg class="pst-icon" role="img" aria-hidden="true" focusable="false" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> |
| 366 |
<path fill="currentColor" d="M3 15.5C2.36232 15.5 1.74874 15.2564 1.28478 14.8189C0.820828 14.3815 0.541576 13.7832 0.504167 13.1467L0.5 13L0.5 3C0.499965 2.36232 0.743605 1.74874 1.18107 1.28478C1.61854 0.820828 2.21676 0.541576 2.85333 0.504167L3 0.5L13 0.5C13.6377 0.499965 14.2513 0.743605 14.7152 1.18107C15.1792 1.61854 15.4584 2.21676 15.4958 2.85333L15.5 3L15.5 13C15.5 13.6377 15.2564 14.2513 14.8189 14.7152C14.3815 15.1792 13.7832 15.4584 13.1467 15.4958L13 15.5L3 15.5ZM3 13.8333L10.5 13.8333L10.5 2.16667L3 2.16667C2.79589 2.16669 2.59889 2.24163 2.44636 2.37726C2.29383 2.5129 2.19638 2.69979 2.1725 2.9025L2.16667 3L2.16667 13C2.16669 13.2041 2.24163 13.4011 2.37726 13.5536C2.5129 13.7062 2.69979 13.8036 2.9025 13.8275L3 13.8333ZM6.65583 10.325L6.5775 10.2558L4.91083 8.58917C4.76735 8.44567 4.68116 8.25476 4.66843 8.05223C4.65569 7.84971 4.71729 7.6495 4.84167 7.48917L4.91083 7.41083L6.5775 5.74417C6.72747 5.59471 6.9287 5.50794 7.14032 5.50148C7.35194 5.49502 7.55809 5.56935 7.7169 5.70937C7.8757 5.8494 7.97525 6.04463 7.99533 6.25539C8.01541 6.46616 7.95451 6.67667 7.825 6.84417L7.75583 6.9225L6.67917 8L7.75583 9.0775C7.89931 9.22099 7.98551 9.41191 7.99824 9.61443C8.01097 9.81695 7.94938 10.0172 7.825 10.1775L7.75583 10.2558C7.61234 10.3993 7.42142 10.4855 7.2189 10.4982C7.01638 10.511 6.81617 10.4494 6.65583 10.325Z"/> |
| 367 |
</svg> |
| 368 |
<span class="pst-collapse-sidebar-label">Collapse Sidebar</span> |
| 369 |
<span class="pst-expand-sidebar-label">Expand Sidebar</span> |
| 370 |
</button></div> |
| 371 |
<div class="sidebar-primary-item"> |
| 372 |
|
| 373 |
<nav class="bd-docs-nav bd-links" |
| 374 |
aria-label="Section Navigation"> |
| 375 |
<p class="bd-links__title" role="heading" aria-level="1">Section Navigation</p> |
| 376 |
<div class="bd-toc-item navbar-nav"><ul class="current nav bd-sidenav"> |
| 377 |
<li class="toctree-l1"><a class="reference internal" href="../report.html">12.1. How to report a bug</a></li> |
| 378 |
<li class="toctree-l1 has-children"><a class="reference internal" href="../documentation.html">12.2. How to contribute in documentation topics</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 379 |
<li class="toctree-l2"><a class="reference internal" href="../documentation/introduction.html">12.2.1. Introduction</a></li> |
| 380 |
<li class="toctree-l2"><a class="reference internal" href="../documentation/i18n.html">12.2.2. I18N</a></li> |
| 381 |
<li class="toctree-l2"><a class="reference internal" href="../documentation/c-api.html">12.2.3. C API</a></li> |
| 382 |
</ul> |
| 383 |
</details></li> |
| 384 |
<li class="toctree-l1 current active has-children"><a class="reference internal" href="../development.html">12.3. For Groonga developers</a><details open="open"><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul class="current"> |
| 385 |
<li class="toctree-l2"><a class="reference internal" href="repository.html">12.3.1. Repository</a></li> |
| 386 |
<li class="toctree-l2 has-children"><a class="reference internal" href="build.html">12.3.2. How to build Groonga at the repository</a><details><summary><span class="toctree-toggle" role="presentation"><i class="fa-solid fa-chevron-down"></i></span></summary><ul> |
| 387 |
<li class="toctree-l3"><a class="reference internal" href="build/unix_cmake.html">12.3.2.1. How to build Groonga at the repository by CMake on GNU/Linux or Unix</a></li> |
| 388 |
<li class="toctree-l3"><a class="reference internal" href="build/windows_cmake.html">12.3.2.2. How to build Groonga at the repository by CMake on Windows</a></li> |
| 389 |
</ul> |
| 390 |
</details></li> |
| 391 |
<li class="toctree-l2"><a class="reference internal" href="com.html">12.3.3. Groonga 通信アーキテクチャ</a></li> |
| 392 |
<li class="toctree-l2"><a class="reference internal" href="cooperation.html">12.3.4. ユーザーと協力して開発をうまく進めていくための指針</a></li> |
| 393 |
<li class="toctree-l2"><a class="reference internal" href="query.html">12.3.5. クエリの実現</a></li> |
| 394 |
|
| 395 |
<li class="toctree-l2 current active"><a class="current reference internal" href="#">12.3.7. リリース手順</a></li> |
| 396 |
<li class="toctree-l2"><a class="reference internal" href="test.html">12.3.8. テスト方法</a></li> |
| 397 |
</ul> |
| 398 |
</details></li> |
| 399 |
</ul> |
| 400 |
</div> |
| 401 |
</nav></div> |
| 402 |
</div> |
| 403 |
|
| 404 |
|
| 405 |
<div class="sidebar-primary-items__end sidebar-primary__section"> |
| 406 |
<div class="sidebar-primary-item"> |
| 407 |
<div id="ethical-ad-placement" |
| 408 |
class="flat" |
| 409 |
data-ea-publisher="readthedocs" |
| 410 |
data-ea-type="readthedocs-sidebar" |
| 411 |
data-ea-manual="true"> |
| 412 |
</div></div> |
| 413 |
</div> |
| 414 |
|
| 415 |
|
| 416 |
</div> |
| 417 |
|
| 418 |
<main id="main-content" class="bd-main" role="main"> |
| 419 |
|
| 420 |
|
| 421 |
<div class="bd-content"> |
| 422 |
<div class="bd-article-container"> |
| 423 |
|
| 424 |
<div class="bd-header-article d-print-none"> |
| 425 |
<div class="header-article-items header-article__inner"> |
| 426 |
|
| 427 |
<div class="header-article-items__start"> |
| 428 |
|
| 429 |
<div class="header-article-item"> |
| 430 |
|
| 431 |
<nav aria-label="Breadcrumb" class="d-print-none"> |
| 432 |
<ul class="bd-breadcrumbs"> |
| 433 |
|
| 434 |
<li class="breadcrumb-item breadcrumb-home"> |
| 435 |
<a href="../../index.html" class="nav-link" aria-label="Home"> |
| 436 |
<i class="fa-solid fa-home"></i> |
| 437 |
</a> |
| 438 |
</li> |
| 439 |
|
| 440 |
<li class="breadcrumb-item"><a href="../../contribution.html" class="nav-link"><span class="section-number">12. </span>How to contribute to groonga</a></li> |
| 441 |
|
| 442 |
|
| 443 |
<li class="breadcrumb-item"><a href="../development.html" class="nav-link"><span class="section-number">12.3. </span>For Groonga developers</a></li> |
| 444 |
|
| 445 |
<li class="breadcrumb-item active" aria-current="page"><span class="ellipsis"><span class="section-number">12.3.7. </span>リリース手順</span></li> |
| 446 |
</ul> |
| 447 |
</nav> |
| 448 |
</div> |
| 449 |
|
| 450 |
</div> |
| 451 |
|
| 452 |
|
| 453 |
</div> |
| 454 |
</div> |
| 455 |
|
| 456 |
|
| 457 |
|
| 458 |
|
| 459 |
<div id="searchbox"></div> |
| 460 |
<article class="bd-article"> |
| 461 |
|
| 462 |
<section id="id1"> |
| 463 |
<h1><span class="section-number">12.3.7. </span>リリース手順<a class="headerlink" href="#id1" title="Link to this heading">#</a></h1> |
| 464 |
<section id="id2"> |
| 465 |
<h2><span class="section-number">12.3.7.1. </span>前提条件<a class="headerlink" href="#id2" title="Link to this heading">#</a></h2> |
| 466 |
<p>リリース手順の前提条件は以下の通りです。</p> |
| 467 |
<ul class="simple"> |
| 468 |
<li><p>ビルド環境は Debian GNU/Linux (sid)</p></li> |
| 469 |
<li><p>コマンドラインの実行例はzsh</p></li> |
| 470 |
</ul> |
| 471 |
<p>作業ディレクトリ例は以下を使用します。</p> |
| 472 |
<ul class="simple"> |
| 473 |
<li><p>GROONGA_DIR=$HOME/work/groonga</p></li> |
| 474 |
<li><p>GROONGA_CLONE_DIR=$HOME/work/groonga/groonga.clean</p></li> |
| 475 |
<li><p>GROONGA_ORG_PATH=$HOME/work/groonga/groonga.org</p></li> |
| 476 |
<li><p>APACHE_ARROW_REPOSITORY=$HOME/work/apache/arrow</p></li> |
| 477 |
</ul> |
| 478 |
</section> |
| 479 |
<section id="id3"> |
| 480 |
<h2><span class="section-number">12.3.7.2. </span>最初の1回だけ行う手順<a class="headerlink" href="#id3" title="Link to this heading">#</a></h2> |
| 481 |
<section id="id4"> |
| 482 |
<h3><span class="section-number">12.3.7.2.1. </span>ビルド環境の準備<a class="headerlink" href="#id4" title="Link to this heading">#</a></h3> |
| 483 |
<p>以下にGroongaのリリース作業を行うために事前にインストール |
| 484 |
しておくべきパッケージを示します。</p> |
| 485 |
<p>なお、ビルド環境としては Debian GNU/Linux (sid)を前提として説明しているため、その他の環境では適宜読み替えて下さい。</p> |
| 486 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>sudo<span class="w"> </span>apt-get<span class="w"> </span>install<span class="w"> </span>-V<span class="w"> </span>debootstrap<span class="w"> </span>createrepo<span class="w"> </span>rpm<span class="w"> </span>mercurial<span class="w"> </span>python-docutils<span class="w"> </span>python-jinja2<span class="w"> </span>ruby-full<span class="w"> </span>mingw-w64<span class="w"> </span>g++-mingw-w64<span class="w"> </span>mecab<span class="w"> </span>libmecab-dev<span class="w"> </span>nsis<span class="w"> </span>gnupg2<span class="w"> </span>dh-autoreconf<span class="w"> </span>bison |
| 487 |
</pre></div> |
| 488 |
</div> |
| 489 |
<p>また、rubyのrakeパッケージを以下のコマンドによりインストールします。</p> |
| 490 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>sudo<span class="w"> </span>gem<span class="w"> </span>install<span class="w"> </span>rake |
| 491 |
</pre></div> |
| 492 |
</div> |
| 493 |
</section> |
| 494 |
<section id="ppa"> |
| 495 |
<h3><span class="section-number">12.3.7.2.2. </span>PPA用の鍵の登録<a class="headerlink" href="#ppa" title="Link to this heading">#</a></h3> |
| 496 |
<p>この作業は、新規にリリースを行うことになった担当者のみ行います。</p> |
| 497 |
<p>[Launchpad](<a class="reference external" href="https://launchpad.net/">https://launchpad.net/</a>)にアカウントを作成し、自分の普段使いの公開鍵を登録した上で、他のリリース担当者に依頼して[Groongaチーム](<a class="reference external" href="https://launchpad.net/~groonga">https://launchpad.net/~groonga</a>)に追加してもらって下さい。</p> |
| 498 |
</section> |
| 499 |
<section id="id5"> |
| 500 |
<h3><span class="section-number">12.3.7.2.3. </span>リリース作業用ディレクトリの作成<a class="headerlink" href="#id5" title="Link to this heading">#</a></h3> |
| 501 |
<p>Groongaのリリース作業ではリリース専用の環境下(コンパイルフラグ)でビルドする必要があります。</p> |
| 502 |
<p>リリース時と開発時でディレクトリを分けずに作業することもできますが、誤ったコンパイルフラグでリリースしてしまう危険があります。</p> |
| 503 |
<p>そのため、以降の説明では$GROONGA_DIR以下のディレクトリにリリース用の作業ディレクトリ(groonga.clean)としてソースコードをcloneしたものとして説明します。</p> |
| 504 |
</section> |
| 505 |
</section> |
| 506 |
<section id="id6"> |
| 507 |
<h2><span class="section-number">12.3.7.3. </span>毎回のリリースで行う手順<a class="headerlink" href="#id6" title="Link to this heading">#</a></h2> |
| 508 |
<section id="groonga"> |
| 509 |
<h3><span class="section-number">12.3.7.3.1. </span>Groongaのソースコード取得<a class="headerlink" href="#groonga" title="Link to this heading">#</a></h3> |
| 510 |
<p>リリース用のクリーンな状態でソースコードを取得するために$GROONGA_DIRにて以下のコマンドを実行します。</p> |
| 511 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git<span class="w"> </span>clone<span class="w"> </span>--recursive<span class="w"> </span>[email protected]:groonga/groonga.git<span class="w"> </span>groonga.clean |
| 512 |
</pre></div> |
| 513 |
</div> |
| 514 |
<p>この作業はリリース作業ごとに行います。</p> |
| 515 |
</section> |
| 516 |
<section id="id7"> |
| 517 |
<h3><span class="section-number">12.3.7.3.2. </span>Groongaのウェブサイトの取得<a class="headerlink" href="#id7" title="Link to this heading">#</a></h3> |
| 518 |
<p>GroongaのウェブサイトのソースはGroonga同様にGitHubにリポジトリを置いています。</p> |
| 519 |
<p>リリース作業では後述するコマンド( <code class="docutils literal notranslate"><span class="pre">rake</span> <span class="pre">release:version:update</span></code> )でタグをプッシュしてCIが動き出すトリガーとします。</p> |
| 520 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git<span class="w"> </span>clone<span class="w"> </span>[email protected]:groonga/groonga.org.git<span class="w"> </span><span class="si">${</span><span class="nv">GROONGA_ORG_PATH</span><span class="si">}</span> |
| 521 |
</pre></div> |
| 522 |
</div> |
| 523 |
<p>これで、$GROONGA_ORG_PATHにgroonga.orgのソースを取得できます。</p> |
| 524 |
</section> |
| 525 |
<section id="apache-arrow"> |
| 526 |
<h3><span class="section-number">12.3.7.3.3. </span>Apache Arrowリポジトリの取得<a class="headerlink" href="#apache-arrow" title="Link to this heading">#</a></h3> |
| 527 |
<p>Apache Arrowのソースも取得します。Apache ArrowのRakeタスクを利用するためです。</p> |
| 528 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/apache/arrow.git<span class="w"> </span><span class="si">${</span><span class="nv">APACHE_ARROW_REPOSITORY</span><span class="si">}</span> |
| 529 |
</pre></div> |
| 530 |
</div> |
| 531 |
</section> |
| 532 |
<section id="id8"> |
| 533 |
<h3><span class="section-number">12.3.7.3.4. </span>事前確認<a class="headerlink" href="#id8" title="Link to this heading">#</a></h3> |
| 534 |
<p>Ubuntu向けパッケージをテスト用に公開する時は、 <a class="reference internal" href="#build-for-ubuntu-nightly"><span class="std std-ref">Ubuntu向けパッケージのビルド確認</span></a> の手順で不安定版のリポジトリにアップロードするように指定します。</p> |
| 535 |
<p>新任のリリース担当者は必ず、この方法でPPAのリポジトリにパッケージをアップロードできる事を確認しておいてください。</p> |
| 536 |
<p>PPAのリポジトリは、同名のパッケージを上書いてアップロードできないので、不安定版のリポジトリでビルドできることを確認してから、安定版のリポジトリへアップロードするようにしてください。</p> |
| 537 |
</section> |
| 538 |
<section id="id9"> |
| 539 |
<h3><span class="section-number">12.3.7.3.5. </span>変更点のまとめ<a class="headerlink" href="#id9" title="Link to this heading">#</a></h3> |
| 540 |
<p>前回リリース時からの変更点を <code class="docutils literal notranslate"><span class="pre">$GROONGA_CLONE_DIR/doc/source/news/*.md</span></code> (英語)にまとめます。 |
| 541 |
ここでまとめた内容についてはリリースアナウンスにも使用します。</p> |
| 542 |
<p>前回リリースからの変更履歴を参照するには以下のコマンドを実行します。</p> |
| 543 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git<span class="w"> </span>log<span class="w"> </span>-p<span class="w"> </span>--reverse<span class="w"> </span><span class="k">$(</span>git<span class="w"> </span>tag<span class="w"> </span>--sort<span class="o">=</span>taggerdate<span class="w"> </span><span class="p">|</span><span class="w"> </span>tail<span class="w"> </span>-1<span class="k">)</span>.. |
| 544 |
</pre></div> |
| 545 |
</div> |
| 546 |
<p>ログを^commitで検索しながら、以下の基準を目安として変更点を追記していきます。</p> |
| 547 |
<p>含めるもの</p> |
| 548 |
<ul class="simple"> |
| 549 |
<li><p>ユーザへ影響するような変更</p></li> |
| 550 |
<li><p>互換性がなくなるような変更</p></li> |
| 551 |
</ul> |
| 552 |
<p>含めないもの</p> |
| 553 |
<ul class="simple"> |
| 554 |
<li><p>内部的な変更(変数名の変更やらリファクタリング)</p></li> |
| 555 |
</ul> |
| 556 |
</section> |
| 557 |
<section id="rake-release"> |
| 558 |
<h3><span class="section-number">12.3.7.3.6. </span><code class="docutils literal notranslate"><span class="pre">rake</span> <span class="pre">release</span></code> の実行<a class="headerlink" href="#rake-release" title="Link to this heading">#</a></h3> |
| 559 |
<p>Run <code class="docutils literal notranslate"><span class="pre">rake</span> <span class="pre">release</span></code> to release a new version:</p> |
| 560 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span><span class="nb">cd</span><span class="w"> </span><span class="si">${</span><span class="nv">GROONGA_CLONE_DIR</span><span class="si">}</span> |
| 561 |
<span class="gp">$ </span>rake<span class="w"> </span>release |
| 562 |
</pre></div> |
| 563 |
</div> |
| 564 |
<p><code class="docutils literal notranslate"><span class="pre">release</span></code> タスクは次の3つのタスクを実行します。</p> |
| 565 |
<ol class="arabic"> |
| 566 |
<li><p><code class="docutils literal notranslate"><span class="pre">release:version:update</span></code></p> |
| 567 |
<p>RPMパッケージのspecファイルに新しいバージョンのチェンジログを追記したりなどします。</p> |
| 568 |
<p>You can change release date by <code class="docutils literal notranslate"><span class="pre">NEW_RELEASE_DATE</span></code>.</p> |
| 569 |
</li> |
| 570 |
<li><p><code class="docutils literal notranslate"><span class="pre">release:tag</span></code></p> |
| 571 |
<p>リリース用のタグを打ちます。</p> |
| 572 |
<p>これによりタグがプッシュされ自動リリースが動き出します。</p> |
| 573 |
</li> |
| 574 |
<li><p><code class="docutils literal notranslate"><span class="pre">dev:version:bump</span></code></p> |
| 575 |
<p>次のリリースに向けてバージョンを更新します。</p> |
| 576 |
</li> |
| 577 |
</ol> |
| 578 |
<section id="dev-version-bump"> |
| 579 |
<h4><span class="section-number">12.3.7.3.6.1. </span>補足: <code class="docutils literal notranslate"><span class="pre">dev:version:bump</span></code> タスク<a class="headerlink" href="#dev-version-bump" title="Link to this heading">#</a></h4> |
| 580 |
<p><code class="docutils literal notranslate"><span class="pre">rake</span> <span class="pre">dev:version:bump</span> <span class="pre">NEW_VERSION=x.x.x</span></code> のようにバージョンを指定して更新できます。</p> |
| 581 |
<div class="admonition note"> |
| 582 |
<p class="admonition-title">Note</p> |
| 583 |
<p>base_versionはtar.gzなどのリリース用のファイル名で使用します。</p> |
| 584 |
</div> |
| 585 |
</section> |
| 586 |
</section> |
| 587 |
<section id="ubuntu"> |
| 588 |
<span id="build-for-ubuntu-nightly"></span><h3><span class="section-number">12.3.7.3.7. </span>Ubuntu向けパッケージのビルド確認<a class="headerlink" href="#ubuntu" title="Link to this heading">#</a></h3> |
| 589 |
<p>Ubuntu向けのパッケージは、Launchpadでビルドしています。 |
| 590 |
リリース前にUbuntu向けパッケージが正常にビルドできるか以下の手順で確認します。</p> |
| 591 |
<p><code class="docutils literal notranslate"><span class="pre">rake</span> <span class="pre">release:version:update</span></code> の結果をリポジトリーにpush後にGitHub Actionsで生成されるソースアーカイブをダウンロードします。 |
| 592 |
ダウンロードしたソースアーカイブを <code class="docutils literal notranslate"><span class="pre">$GROONGA_CLONE_DIR</span></code> のトップに配置します。その後、以下のコマンドを実行してください。</p> |
| 593 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span><span class="nb">cd</span><span class="w"> </span><span class="nv">$GROONGA_CLONE_DIR</span>/packages |
| 594 |
<span class="gp">$ </span>rake<span class="w"> </span>ubuntu<span class="w"> </span><span class="nv">DPUT_CONFIGURATION_NAME</span><span class="o">=</span>groonga-ppa-nightly<span class="w"> </span><span class="nv">DPUT_INCOMING</span><span class="o">=</span><span class="s2">"~groonga/ubuntu/nightly"</span><span class="w"> </span><span class="nv">LAUNCHPAD_UPLOADER_PGP_KEY</span><span class="o">=</span>xxxxxxx |
| 595 |
</pre></div> |
| 596 |
</div> |
| 597 |
</section> |
| 598 |
<section id="id10"> |
| 599 |
<h3><span class="section-number">12.3.7.3.8. </span>各種テストの確認<a class="headerlink" href="#id10" title="Link to this heading">#</a></h3> |
| 600 |
<p>リリース用のタグを設定する前に、以下のテストが全てパスしているかを確認します。 |
| 601 |
タグを設定してから問題が発覚すると、再度リリースすることになってしまうので、タグを設定する前に問題がないか確認します。</p> |
| 602 |
<ul class="simple"> |
| 603 |
<li><p><a class="reference external" href="https://github.com/groonga/groonga/actions?query=workflow%3APackage">GitHub Actions</a></p></li> |
| 604 |
<li><p><a class="reference external" href="https://launchpad.net/~groonga/+archive/ubuntu/nightly/+packages">Launchpad</a></p></li> |
| 605 |
</ul> |
| 606 |
<p>テストやパッケージの作成に失敗していたら、原因を特定して修正します。</p> |
| 607 |
</section> |
| 608 |
<section id="id11"> |
| 609 |
<h3><span class="section-number">12.3.7.3.9. </span>Ubuntu用パッケージのアップロード<a class="headerlink" href="#id11" title="Link to this heading">#</a></h3> |
| 610 |
<p>Ubuntu向けパッケージの作成には、作業マシン上にGroongaのビルドに必要な依存ソフトウェア一式がインストールされている必要があります。以下のようにしてインストールしておいて下さい。</p> |
| 611 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>sudo<span class="w"> </span>apt<span class="w"> </span>build-dep<span class="w"> </span>groonga |
| 612 |
</pre></div> |
| 613 |
</div> |
| 614 |
<p>Ubuntu向けのパッケージのアップロードには以下のコマンドを実行します。</p> |
| 615 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span><span class="nb">cd</span><span class="w"> </span>packages |
| 616 |
<span class="gp">$ </span>rake<span class="w"> </span>ubuntu<span class="w"> </span><span class="nv">LAUNCHPAD_UPLOADER_PGP_KEY</span><span class="o">=</span>xxxxxxx |
| 617 |
</pre></div> |
| 618 |
</div> |
| 619 |
<p>アップロードが正常終了すると、launchpad.net上でビルドが実行され、ビルド結果がメールで通知されます。ビルドに成功すると、リリース対象のパッケージがlaunchpad.netのGroongaチームのPPAへと反映されます。公開されているパッケージは以下のURLで確認できます。</p> |
| 620 |
<blockquote> |
| 621 |
<div><p><a class="reference external" href="https://launchpad.net/~groonga/+archive/ubuntu/ppa">https://launchpad.net/~groonga/+archive/ubuntu/ppa</a></p> |
| 622 |
</div></blockquote> |
| 623 |
<section id="id12"> |
| 624 |
<h4><span class="section-number">12.3.7.3.9.1. </span>Ubuntu用パッケージの公開の取り消し<a class="headerlink" href="#id12" title="Link to this heading">#</a></h4> |
| 625 |
<p>LaunchpadのGroongaチームのページで対象のPPAを選択し、バージョン一覧の上にある「View package details」リンクの先で「Delete packages」リンクを辿ると、アップロード済みパッケージを削除できます。 |
| 626 |
例;[不安定版リポジトリのパッケージの削除用のページ](<a class="reference external" href="https://launchpad.net/~groonga/+archive/ubuntu/nightly/+delete-packages">https://launchpad.net/~groonga/+archive/ubuntu/nightly/+delete-packages</a>)。</p> |
| 627 |
</section> |
| 628 |
</section> |
| 629 |
<section id="windowsmsys2"> |
| 630 |
<h3><span class="section-number">12.3.7.3.10. </span>WindowsのMSYS2用パッケージのアップロード<a class="headerlink" href="#windowsmsys2" title="Link to this heading">#</a></h3> |
| 631 |
<p><a class="reference external" href="https://github.com/msys2/MINGW-packages">MINGW-packages</a> の、 <code class="docutils literal notranslate"><span class="pre">mingw-w64-groonga/PKGBUILD</span></code> を最新にして、プルリクエストを作成します。</p> |
| 632 |
<p>MINGW-packagesはforkして自分のリポジトリを作成しておきます。 |
| 633 |
また、forkしたリポジトリのGitHub Actionsを有効にしておきます。</p> |
| 634 |
<p>forkしたリポジトリをローカルにcloneし、upstreamに本家のMINGW-packagesを登録しておきます。この作業は一度だけ行います。</p> |
| 635 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>mkdir<span class="w"> </span>-p<span class="w"> </span>~/work |
| 636 |
<span class="gp">$ </span>git<span class="w"> </span>clone<span class="w"> </span>--recursive<span class="w"> </span>[email protected]:<your-forked-MINGW-packages>.git<span class="w"> </span>~/work/MINGW-packages |
| 637 |
<span class="gp">$ </span>git<span class="w"> </span>remote<span class="w"> </span>add<span class="w"> </span>upstream<span class="w"> </span>https://github.com/msys2/MINGW-packages.git |
| 638 |
</pre></div> |
| 639 |
</div> |
| 640 |
<p>以下の手順で必要なファイルの更新と、プルリクエスト用のブランチの作成をします。 |
| 641 |
<code class="docutils literal notranslate"><span class="pre">12.0.9</span></code> は最新のGroongaのバージョンを指定します。</p> |
| 642 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span><span class="nb">cd</span><span class="w"> </span>~/work/groonga/groonga.clean/packages |
| 643 |
<span class="gp">$ </span>./post-msys2.sh<span class="w"> </span><span class="m">12</span>.0.9<span class="w"> </span><span class="nv">$HOME</span>/work/MINGW-packages |
| 644 |
</pre></div> |
| 645 |
</div> |
| 646 |
<p><code class="docutils literal notranslate"><span class="pre">post-msys2.sh</span></code> スクリプトは以下の処理を実行します。</p> |
| 647 |
<ul class="simple"> |
| 648 |
<li><p>forkしたリポジトリの更新( <code class="docutils literal notranslate"><span class="pre">master</span></code> ブランチを本家のリポジトリの <code class="docutils literal notranslate"><span class="pre">master</span></code> にrebase)</p></li> |
| 649 |
<li><p><code class="docutils literal notranslate"><span class="pre">master</span></code> ブランチから <code class="docutils literal notranslate"><span class="pre">groonga-12.0.9</span></code> ブランチの作成</p></li> |
| 650 |
<li><p><code class="docutils literal notranslate"><span class="pre">mingw-w64-groonga/PKGBUILD</span></code> の更新</p></li> |
| 651 |
<li><p>forkしたリポジトリに <code class="docutils literal notranslate"><span class="pre">groonga-12.0.9</span></code> ブランチをpush</p></li> |
| 652 |
</ul> |
| 653 |
<p>このとき、 <code class="docutils literal notranslate"><span class="pre">mingw-w64-groonga/PKGBUILD</span></code> は以下の通り更新されます。</p> |
| 654 |
<ul class="simple"> |
| 655 |
<li><p><code class="docutils literal notranslate"><span class="pre">pkgver</span></code> : 指定した最新のGroongaバージョン</p></li> |
| 656 |
<li><p><code class="docutils literal notranslate"><span class="pre">pkgrel</span></code> : <code class="docutils literal notranslate"><span class="pre">1</span></code></p></li> |
| 657 |
<li><p><code class="docutils literal notranslate"><span class="pre">sha256sums</span></code> : 最新の <a class="reference external" href="https://packages.groonga.org/source/groonga/groonga-xx.x.x.tar.gz">https://packages.groonga.org/source/groonga/groonga-xx.x.x.tar.gz</a> のsha256sum</p></li> |
| 658 |
</ul> |
| 659 |
<p>forkしたリポジトリにて、pushされたブランチのGitHub Actionsが成功していることを確認します。 |
| 660 |
これで正しくビルドできているかどうかが確認できます。</p> |
| 661 |
<p>確認後、本家のMINGW-packagesにプルリクエストを作成します。</p> |
| 662 |
<p>過去のプルリクエストの例は以下です。</p> |
| 663 |
<blockquote> |
| 664 |
<div><p><a class="github reference external" href="https://github.com/msys2/MINGW-packages/pull/14320">msys2/MINGW-packages#14320</a></p> |
| 665 |
</div></blockquote> |
| 666 |
<p>プルリクエストがマージされると、MSYS2用のパッケージがリリースされます。</p> |
| 667 |
</section> |
| 668 |
<section id="id13"> |
| 669 |
<h3><span class="section-number">12.3.7.3.11. </span>ドキュメントの更新<a class="headerlink" href="#id13" title="Link to this heading">#</a></h3> |
| 670 |
<p><code class="docutils literal notranslate"><span class="pre">groonga.org</span></code> リポジトリにて次のタスクを実行します。そうすることでタグがプッシュされCIにてドキュメントが更新されます。</p> |
| 671 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span><span class="nb">cd</span><span class="w"> </span><span class="si">${</span><span class="nv">GROONGA_ORG_PATH</span><span class="si">}</span> |
| 672 |
<span class="gp">$ </span>rake<span class="w"> </span>release |
| 673 |
</pre></div> |
| 674 |
</div> |
| 675 |
</section> |
| 676 |
<section id="docker"> |
| 677 |
<h3><span class="section-number">12.3.7.3.12. </span>Dockerイメージの更新<a class="headerlink" href="#docker" title="Link to this heading">#</a></h3> |
| 678 |
<p><a class="reference external" href="https://hub.docker.com/r/groonga/groonga">Docker Hub</a> のGroongaのDockerイメージを更新します。</p> |
| 679 |
<p><a class="reference external" href="https://github.com/groonga/docker">GroongaのDockerリポジトリー</a> をクローンし、リポジトリーの中のDockerfileを更新します。</p> |
| 680 |
<p>以下は、Groongaのバージョンが <code class="docutils literal notranslate"><span class="pre">12.0.9</span></code> の場合の例です。作業時には最新のバージョンを指定してください。</p> |
| 681 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>mkdir<span class="w"> </span>-p<span class="w"> </span>~/work/groonga |
| 682 |
<span class="gp">$ </span>rm<span class="w"> </span>-rf<span class="w"> </span>~/work/groonga/docker.clean |
| 683 |
<span class="gp">$ </span>git<span class="w"> </span>clone<span class="w"> </span>--recursive<span class="w"> </span>[email protected]:groonga/docker.git<span class="w"> </span>~/work/groonga/docker.clean |
| 684 |
<span class="gp">$ </span><span class="nb">cd</span><span class="w"> </span>~/work/groonga/docker.clean |
| 685 |
<span class="gp">$ </span>./update.sh<span class="w"> </span><span class="m">12</span>.0.9<span class="w"> </span><span class="c1">#Automatically update Dockerfiles and commit changes and create a tag.</span> |
| 686 |
<span class="gp">$ </span>git<span class="w"> </span>push |
| 687 |
</pre></div> |
| 688 |
</div> |
| 689 |
<p><a class="reference external" href="https://github.com/groonga/docker/actions">GroongaのDockerリポジトリーのGithub Actions</a> が成功しているのを確認してから、タグをpushします。</p> |
| 690 |
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>git<span class="w"> </span>push<span class="w"> </span>--tags |
| 691 |
</pre></div> |
| 692 |
</div> |
| 693 |
<p>pushすると、 GroongaのDockerリポジトリーのGithub Actions が Docker HubのGroonga のDockerイメージを自動で更新します。</p> |
| 694 |
</section> |
| 695 |
<section id="id14"> |
| 696 |
<h3><span class="section-number">12.3.7.3.13. </span>リリースアナウンスの作成<a class="headerlink" href="#id14" title="Link to this heading">#</a></h3> |
| 697 |
<p>リリースの際にはリリースアナウンスを流して、Groongaを広く通知します。</p> |
| 698 |
<p>news.rstに変更点をまとめましたが、それを元にリリースアナウンスを作成します。</p> |
| 699 |
<p>リリースアナウンスには以下を含めます。</p> |
| 700 |
<ul class="simple"> |
| 701 |
<li><p>インストール方法へのリンク</p></li> |
| 702 |
<li><p>リリースのトピック紹介</p></li> |
| 703 |
<li><p>リリース変更点へのリンク</p></li> |
| 704 |
<li><p>リリース変更点(news.rstの内容)</p></li> |
| 705 |
</ul> |
| 706 |
<p>リリースのトピック紹介では、これからGroongaを使う人へアピールする点や既存のバージョンを利用している人がアップグレードする際に必要な情報を提供します。</p> |
| 707 |
<p>非互換な変更が含まれるのであれば、回避方法等の案内を載せることも重要です。</p> |
| 708 |
<p>参考までに過去のリリースアナウンスへのリンクを以下に示します。</p> |
| 709 |
<ul> |
| 710 |
<li><p>[Groonga-talk] [ANN] Groonga 2.0.2</p> |
| 711 |
<blockquote> |
| 712 |
<div><ul class="simple"> |
| 713 |
<li><p><a class="reference external" href="http://sourceforge.net/mailarchive/message.php?msg_id=29195195">http://sourceforge.net/mailarchive/message.php?msg_id=29195195</a></p></li> |
| 714 |
</ul> |
| 715 |
</div></blockquote> |
| 716 |
</li> |
| 717 |
<li><p>[groonga-dev,00794] [ANN] Groonga 2.0.2</p> |
| 718 |
<blockquote> |
| 719 |
<div><ul class="simple"> |
| 720 |
<li><p><a class="reference external" href="http://osdn.jp/projects/groonga/lists/archive/dev/2012-April/000794.html">http://osdn.jp/projects/groonga/lists/archive/dev/2012-April/000794.html</a></p></li> |
| 721 |
</ul> |
| 722 |
</div></blockquote> |
| 723 |
</li> |
| 724 |
</ul> |
| 725 |
<p>後述しますが、Twitter等でのリリースアナウンスの際はここで用意したアナウンス文の要約を使用します。</p> |
| 726 |
</section> |
| 727 |
<section id="homebrew"> |
| 728 |
<h3><span class="section-number">12.3.7.3.14. </span>Homebrewの更新<a class="headerlink" href="#homebrew" title="Link to this heading">#</a></h3> |
| 729 |
<p>この手順は省略可能です(Homebrewの更新はGroongaプロジェクト本体のリリース要件には含まれません)。</p> |
| 730 |
<p>OS Xでのパッケージ管理方法として <a class="reference external" href="http://brew.sh/">Homebrew</a> があります。</p> |
| 731 |
<p>Groongaを簡単にインストールできるようにするために、Homebrewへpull requestを送ります。</p> |
| 732 |
<blockquote> |
| 733 |
<div><p><a class="github reference external" href="https://github.com/Homebrew/homebrew-core">Homebrew/homebrew-core</a></p> |
| 734 |
</div></blockquote> |
| 735 |
<p>すでにGroongaのFormulaは取り込まれているので、リリースのたびにFormulaの内容を更新する作業を実施します。</p> |
| 736 |
<p>Groonga 3.0.6のときは以下のように更新してpull requestを送りました。</p> |
| 737 |
<blockquote> |
| 738 |
<div><p><a class="github reference external" href="https://github.com/mxcl/homebrew/pull/21456/files">mxcl/homebrew#files</a></p> |
| 739 |
</div></blockquote> |
| 740 |
<p>上記URLを参照するとわかるようにソースアーカイブのurlとsha1チェックサムを更新します。</p> |
| 741 |
</section> |
| 742 |
<section id="twitter"> |
| 743 |
<h3><span class="section-number">12.3.7.3.15. </span>Twitterでリリースアナウンスをする<a class="headerlink" href="#twitter" title="Link to this heading">#</a></h3> |
| 744 |
<p>BloGroongaのリリースエントリには「リンクをあなたのフォロワーに共有する」ためのツイートボタンがあるので、そのボタンを使ってリリースアナウンスします。(画面下部に配置されている)</p> |
| 745 |
<p>このボタンを経由する場合、ツイート内容に自動的にリリースタイトル(「groonga 2.0.8リリース」など)とBloGroongaのリリースエントリのURLが挿入されます。</p> |
| 746 |
<p>この作業はBloGroongaの英語版、日本語版それぞれで行います。 |
| 747 |
あらかじめgroongaアカウントでログインしておくとアナウンスを円滑に行うことができます。</p> |
| 748 |
</section> |
| 749 |
<section id="facebook"> |
| 750 |
<h3><span class="section-number">12.3.7.3.16. </span>Facebookでリリースアナウンスをする<a class="headerlink" href="#facebook" title="Link to this heading">#</a></h3> |
| 751 |
<p>FacebookにGroongaグループがあります。 |
| 752 |
<a class="reference external" href="https://www.facebook.com/groonga/">https://www.facebook.com/groonga/</a></p> |
| 753 |
<p>Groongaグループのメンバーになると、個人のアカウントではなく、Groongaグループのメンバーとして投稿できます。 |
| 754 |
ブログエントリなどをもとに、リリースアナウンスを投稿します。</p> |
| 755 |
<p>以上でリリース作業は終了です。</p> |
| 756 |
</section> |
| 757 |
</section> |
| 758 |
</section> |
| 759 |
|
| 760 |
|
| 761 |
</article> |
| 762 |
|
| 763 |
|
| 764 |
|
| 765 |
|
| 766 |
|
| 767 |
<footer class="prev-next-footer d-print-none"> |
| 768 |
|
| 769 |
<div class="prev-next-area"> |
| 770 |
<a class="left-prev" |
| 771 |
href="query.html" |
| 772 |
title="previous page"> |
| 773 |
<i class="fa-solid fa-angle-left"></i> |
| 774 |
<div class="prev-next-info"> |
| 775 |
<p class="prev-next-subtitle">previous</p> |
| 776 |
<p class="prev-next-title"><span class="section-number">12.3.5. </span>クエリの実現</p> |
| 777 |
</div> |
| 778 |
</a> |
| 779 |
<a class="right-next" |
| 780 |
href="test.html" |
| 781 |
title="next page"> |
| 782 |
<div class="prev-next-info"> |
| 783 |
<p class="prev-next-subtitle">next</p> |
| 784 |
<p class="prev-next-title"><span class="section-number">12.3.8. </span>テスト方法</p> |
| 785 |
</div> |
| 786 |
<i class="fa-solid fa-angle-right"></i> |
| 787 |
</a> |
| 788 |
</div> |
| 789 |
</footer> |
| 790 |
|
| 791 |
</div> |
| 792 |
|
| 793 |
|
| 794 |
|
| 795 |
<dialog id="pst-secondary-sidebar-modal"></dialog> |
| 796 |
<div id="pst-secondary-sidebar" class="bd-sidebar-secondary bd-toc"><div class="sidebar-secondary-items sidebar-secondary__inner"> |
| 797 |
|
| 798 |
|
| 799 |
<div class="sidebar-secondary-item"> |
| 800 |
<div |
| 801 |
id="pst-page-navigation-heading-2" |
| 802 |
class="page-toc tocsection onthispage"> |
| 803 |
<i class="fa-solid fa-list"></i> On this page |
| 804 |
</div> |
| 805 |
<nav id="pst-page-toc-nav" class="page-toc" aria-labelledby="pst-page-navigation-heading-2"> |
| 806 |
<ul class="pst-show_toc_level nav section-nav flex-column"> |
| 807 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#id2">12.3.7.1. 前提条件</a></li> |
| 808 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#id3">12.3.7.2. 最初の1回だけ行う手順</a><ul class="nav section-nav flex-column"> |
| 809 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id4">12.3.7.2.1. ビルド環境の準備</a></li> |
| 810 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#ppa">12.3.7.2.2. PPA用の鍵の登録</a></li> |
| 811 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id5">12.3.7.2.3. リリース作業用ディレクトリの作成</a></li> |
| 812 |
</ul> |
| 813 |
</li> |
| 814 |
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#id6">12.3.7.3. 毎回のリリースで行う手順</a><ul class="nav section-nav flex-column"> |
| 815 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#groonga">12.3.7.3.1. Groongaのソースコード取得</a></li> |
| 816 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id7">12.3.7.3.2. Groongaのウェブサイトの取得</a></li> |
| 817 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#apache-arrow">12.3.7.3.3. Apache Arrowリポジトリの取得</a></li> |
| 818 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id8">12.3.7.3.4. 事前確認</a></li> |
| 819 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id9">12.3.7.3.5. 変更点のまとめ</a></li> |
| 820 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#rake-release">12.3.7.3.6. <code class="docutils literal notranslate"><span class="pre">rake</span> <span class="pre">release</span></code> の実行</a><ul class="nav section-nav flex-column"> |
| 821 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#dev-version-bump">12.3.7.3.6.1. 補足: <code class="docutils literal notranslate"><span class="pre">dev:version:bump</span></code> タスク</a></li> |
| 822 |
</ul> |
| 823 |
</li> |
| 824 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#ubuntu">12.3.7.3.7. Ubuntu向けパッケージのビルド確認</a></li> |
| 825 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id10">12.3.7.3.8. 各種テストの確認</a></li> |
| 826 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id11">12.3.7.3.9. Ubuntu用パッケージのアップロード</a><ul class="nav section-nav flex-column"> |
| 827 |
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#id12">12.3.7.3.9.1. Ubuntu用パッケージの公開の取り消し</a></li> |
| 828 |
</ul> |
| 829 |
</li> |
| 830 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#windowsmsys2">12.3.7.3.10. WindowsのMSYS2用パッケージのアップロード</a></li> |
| 831 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id13">12.3.7.3.11. ドキュメントの更新</a></li> |
| 832 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#docker">12.3.7.3.12. Dockerイメージの更新</a></li> |
| 833 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#id14">12.3.7.3.13. リリースアナウンスの作成</a></li> |
| 834 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#homebrew">12.3.7.3.14. Homebrewの更新</a></li> |
| 835 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#twitter">12.3.7.3.15. Twitterでリリースアナウンスをする</a></li> |
| 836 |
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#facebook">12.3.7.3.16. Facebookでリリースアナウンスをする</a></li> |
| 837 |
</ul> |
| 838 |
</li> |
| 839 |
</ul> |
| 840 |
</nav></div> |
| 841 |
|
| 842 |
<div class="sidebar-secondary-item"> |
| 843 |
|
| 844 |
|
| 845 |
<div class="tocsection editthispage"> |
| 846 |
<a href="https://github.com/groonga/groonga/edit/main/doc/source/contribution/development/release.rst"> |
| 847 |
<i class="fa-solid fa-pencil"></i> |
| 848 |
|
| 849 |
|
| 850 |
|
| 851 |
Edit on GitHub |
| 852 |
|
| 853 |
|
| 854 |
</a> |
| 855 |
</div> |
| 856 |
</div> |
| 857 |
|
| 858 |
</div></div> |
| 859 |
|
| 860 |
|
| 861 |
</div> |
| 862 |
<footer class="bd-footer-content"> |
| 863 |
|
| 864 |
</footer> |
| 865 |
|
| 866 |
</main> |
| 867 |
</div> |
| 868 |
</div> |
| 869 |
|
| 870 |
|
| 871 |
<script defer src="../../_static/scripts/bootstrap.js?digest=90905a2f556bf617f1a9"></script> |
| 872 |
<script defer src="../../_static/scripts/pydata-sphinx-theme.js?digest=90905a2f556bf617f1a9"></script> |
| 873 |
|
| 874 |
<footer class="bd-footer"> |
| 875 |
<div class="bd-footer__inner bd-page-width"> |
| 876 |
|
| 877 |
<div class="footer-items__start"> |
| 878 |
|
| 879 |
<div class="footer-item"> |
| 880 |
|
| 881 |
<p class="copyright"> |
| 882 |
|
| 883 |
© Copyright 2009-2026 Groonga Project. |
| 884 |
<br/> |
| 885 |
|
| 886 |
</p> |
| 887 |
</div> |
| 888 |
|
| 889 |
</div> |
| 890 |
|
| 891 |
|
| 892 |
|
| 893 |
<div class="footer-items__end"> |
| 894 |
|
| 895 |
<div class="footer-item"> |
| 896 |
<p class="theme-version"> |
| 897 |
|
| 898 |
Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> 0.20.0. |
| 899 |
</p></div> |
| 900 |
|
| 901 |
</div> |
| 902 |
|
| 903 |
</div> |
| 904 |
|
| 905 |
</footer> |
| 906 |
</body> |
| 907 |
</html> |