{
    "componentChunkName": "component---src-templates-doc-tsx",
    "path": "/docs/latest/en/release-process/",
    "result": {"data":{"navigation":{"nodes":[{"section":"Getting started","entries":[{"frontmatter":{"title":"Installation","subtitle":"Installation of scm-manager","partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/installation/"}},{"frontmatter":{"title":"First Startup","subtitle":"Administration User Creation","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/first-startup/"}},{"frontmatter":{"title":"Migrate from v1 to v3","subtitle":"How to use the Migration-Wizard","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/migrate-scm-manager-from-v1/"}},{"frontmatter":{"title":"Migrate from v2 to v3","subtitle":"Changes in the configuration","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/migrate-scm-manager-from-v2/"}},{"frontmatter":{"title":"Import existing repositories","subtitle":"How to import existing repositories into SCM-Manager","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/import/"}},{"frontmatter":{"title":"Frequently Asked Questions","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/faq/"}},{"frontmatter":{"title":"Known Issues","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/known-issues/"}}]},{"section":"User-oriented","entries":[{"frontmatter":{"title":"Repository","subtitle":null,"partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/user/repo/"}},{"frontmatter":{"title":"User","subtitle":null,"partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/user/user/"}},{"frontmatter":{"title":"Groups","subtitle":null,"partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/user/group/"}},{"frontmatter":{"title":"Administration","subtitle":null,"partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/user/admin/"}},{"frontmatter":{"title":"Profile","subtitle":null,"partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/user/profile/"}},{"frontmatter":{"title":"Notifications","subtitle":null,"partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/user/notification/"}},{"frontmatter":{"title":"CLI Client","subtitle":null,"partiallyActive":true},"fields":{"slug":"/docs/3.12.x/en/user/cli/"}},{"frontmatter":{"title":"Shortcuts","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/user/shortcuts/"}}]},{"section":"Administration","entries":[{"frontmatter":{"title":"Base Directory","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/administration/basedirectory/"}},{"frontmatter":{"title":"Logging","subtitle":"Configuration and locations of SCM-Manager logging","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/administration/logging/"}},{"frontmatter":{"title":"SCM-Server Configuration","subtitle":"Various configuration options for the SCM-Server","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/administration/scm-server/"}},{"frontmatter":{"title":"Reverse Proxy","subtitle":"How to use SCM-Manager with common reverse proxies","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/administration/reverse-proxies/"}},{"frontmatter":{"title":"Caching for Working Directories","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/administration/workdir_caching/"}}]},{"section":"Development","entries":[{"frontmatter":{"title":"IntelliJ IDEA Configuration","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/intellij-idea-configuration/"}},{"frontmatter":{"title":"Building SCM-Manager from Source","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/build-from-source/"}},{"frontmatter":{"title":"Architecture overview","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/architecture-overview/"}},{"frontmatter":{"title":"Common pitfall occurred while developing the SCM V2","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/ui-common-pitfall/"}},{"frontmatter":{"title":"Permission Concept","subtitle":"Fine-grained permission for SCM-Manager v2","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/permission-concept/"}},{"frontmatter":{"title":"Decision Table","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/decision-table/"}},{"frontmatter":{"title":"Error Handling","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/error-handling/"}},{"frontmatter":{"title":"Styleguide","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/styleguide/"}},{"frontmatter":{"title":"Testing Guide","subtitle":"Howto write tests for SCM-Manager","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/testing-guide/"}},{"frontmatter":{"title":"Integration Tests","subtitle":"How to run integration tests","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/integration-tests/"}},{"frontmatter":{"title":"UI-Extensions","subtitle":"How to extend the SCM-Manager UI with plugins","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/ui-extensions/"}},{"frontmatter":{"title":"I18n","subtitle":"Howto do internationalization","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/i18n/"}},{"frontmatter":{"title":"Building Forms","subtitle":"Howto build forms for SCM-Manager","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/building-forms/"}},{"frontmatter":{"title":"Javadoc","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/javadoc/"}},{"frontmatter":{"title":"CLI Guidelines","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/cli-guideline/"}},{"frontmatter":{"title":"Definition of Done","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/definition-of-done/"}},{"frontmatter":{"title":"DOD for UI development","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/ui-dod/"}}]},{"section":"Plugin Development","entries":[{"frontmatter":{"title":"Create a plugin","subtitle":"Create a new SCM-Manager plugin","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/plugins/create/"}},{"frontmatter":{"title":"Migrate a v1 plugin","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/plugins/migrate-plugin-from-v1/"}},{"frontmatter":{"title":"Extension Points","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/plugins/extension-points/"}},{"frontmatter":{"title":"i18n for Plugins","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/plugins/i18n-for-plugins/"}},{"frontmatter":{"title":"Plugin Descriptor","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/plugins/plugin-descriptor/"}},{"frontmatter":{"title":"SCM-Manager v2 Plugin Development","subtitle":null,"partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/plugins/plugin-development/"}},{"frontmatter":{"title":"Publish","subtitle":"Publish your Plugin","partiallyActive":null},"fields":{"slug":"/docs/3.12.x/en/development/plugins/publish/"}}]}]},"versions":{"group":[{"fieldValue":"1.0.x"},{"fieldValue":"1.x"},{"fieldValue":"2.0.x"},{"fieldValue":"2.1.x"},{"fieldValue":"2.10.x"},{"fieldValue":"2.11.x"},{"fieldValue":"2.12.x"},{"fieldValue":"2.13.x"},{"fieldValue":"2.14.x"},{"fieldValue":"2.15.x"},{"fieldValue":"2.16.x"},{"fieldValue":"2.17.x"},{"fieldValue":"2.18.x"},{"fieldValue":"2.19.x"},{"fieldValue":"2.2.x"},{"fieldValue":"2.20.x"},{"fieldValue":"2.21.x"},{"fieldValue":"2.22.x"},{"fieldValue":"2.23.x"},{"fieldValue":"2.24.x"},{"fieldValue":"2.25.x"},{"fieldValue":"2.26.x"},{"fieldValue":"2.27.x"},{"fieldValue":"2.28.x"},{"fieldValue":"2.29.x"},{"fieldValue":"2.3.x"},{"fieldValue":"2.30.x"},{"fieldValue":"2.31.x"},{"fieldValue":"2.32.x"},{"fieldValue":"2.33.x"},{"fieldValue":"2.34.x"},{"fieldValue":"2.35.x"},{"fieldValue":"2.36.x"},{"fieldValue":"2.37.x"},{"fieldValue":"2.38.x"},{"fieldValue":"2.39.x"},{"fieldValue":"2.4.x"},{"fieldValue":"2.40.x"},{"fieldValue":"2.41.x"},{"fieldValue":"2.42.x"},{"fieldValue":"2.43.x"},{"fieldValue":"2.44.x"},{"fieldValue":"2.45.x"},{"fieldValue":"2.46.x"},{"fieldValue":"2.47.x"},{"fieldValue":"2.48.x"},{"fieldValue":"2.5.x"},{"fieldValue":"2.6.x"},{"fieldValue":"2.7.x"},{"fieldValue":"2.8.x"},{"fieldValue":"2.9.x"},{"fieldValue":"3.0.x"},{"fieldValue":"3.1.x"},{"fieldValue":"3.10.x"},{"fieldValue":"3.11.x"},{"fieldValue":"3.12.x"},{"fieldValue":"3.2.x"},{"fieldValue":"3.3.x"},{"fieldValue":"3.4.x"},{"fieldValue":"3.5.x"},{"fieldValue":"3.6.x"},{"fieldValue":"3.7.x"},{"fieldValue":"3.8.x"},{"fieldValue":"3.9.x"}]},"languages":{"group":[{"fieldValue":"de"},{"fieldValue":"en"}]},"markdownRemark":{"html":"<h2 id=\"how-to-release-scm-manager-core-script\" style=\"position:relative;\"><a href=\"#how-to-release-scm-manager-core-script\" aria-label=\"how to release scm manager core script permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>How to release SCM-Manager core (Script)</h2>\n<p>The most easy way to release the core is to use the release script. This will guide you\nthrough all necessary tasks.</p>\n<p>Mind that the script does not care about <code class=\"language-text\">support</code> branches, so if you have one, take\nthe manual way described below!</p>\n<p>Make sure you have no changes you want to keep! The script will clean up everything.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\">./release.sh</code></pre></div>\n<p>It will</p>\n<ul>\n<li>Clean up your repository with the latest revision of <code class=\"language-text\">develop</code>,</li>\n<li>Update the <code class=\"language-text\">CHANGELOG</code> file,</li>\n<li>Show you the changes it made,</li>\n<li>Ask you whether to proceed or not,</li>\n<li>Create a commit with the changes, and</li>\n<li>Create and push the release branch.</li>\n</ul>\n<h2 id=\"manual-core-release\" style=\"position:relative;\"><a href=\"#manual-core-release\" aria-label=\"manual core release permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Manual core release</h2>\n<p>To release a new version of SCM-Manager \"manually\", you have to do the following steps\n(replace placeholders <code class=\"language-text\">&lt;version></code> accordingly, eg. with <code class=\"language-text\">2.1.0</code>):</p>\n<h3 id=\"check-out-default-branch\" style=\"position:relative;\"><a href=\"#check-out-default-branch\" aria-label=\"check out default branch permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Check out default branch</h3>\n<p>Make sure you have no changes you want to keep!</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> fetch <span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> checkout <span class=\"token parameter variable\">-f</span> origin/develop <span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> clean <span class=\"token parameter variable\">-fd</span> <span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> checkout <span class=\"token parameter variable\">-B</span> develop</code></pre></div>\n<h3 id=\"merge-support-branch\" style=\"position:relative;\"><a href=\"#merge-support-branch\" aria-label=\"merge support branch permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Merge support branch</h3>\n<p>Check whether there is an integration branch for the previous release or bugfixes not merged into the develop branch. Merge them now.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> merge origin/support/<span class=\"token operator\">&lt;</span>support branch<span class=\"token operator\">></span></code></pre></div>\n<h3 id=\"update-changelog\" style=\"position:relative;\"><a href=\"#update-changelog\" aria-label=\"update changelog permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Update Changelog</h3>\n<p>The changelog must be updated to reflect the changes for the new release.\nAll unreleased changes are stored in the <code class=\"language-text\">gradle/changelog</code> directory.\nThe changelog can be updated with the <code class=\"language-text\">updateChangelog</code> gradle task.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token builtin class-name\">export</span> <span class=\"token assign-left variable\">VERSION</span><span class=\"token operator\">=</span><span class=\"token variable\"><span class=\"token variable\">$(</span>./gradlew :updateChangelog <span class=\"token operator\">|</span> <span class=\"token function\">grep</span> <span class=\"token parameter variable\">-oP</span> <span class=\"token string\">\"Using next version \\K[0-9.]+\"</span><span class=\"token variable\">)</span></span>\n<span class=\"token builtin class-name\">echo</span> About to release version <span class=\"token variable\">$VERSION</span></code></pre></div>\n<p>The update changelog task will tell you the next version number.</p>\n<p>Now we should manually check if the changelog looks good.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> <span class=\"token function\">diff</span> CHANGELOG.md</code></pre></div>\n<p>If everything looks fine, we can remove the changelog directory.</p>\n<h3 id=\"create-release-branch-commit-changes-and-push\" style=\"position:relative;\"><a href=\"#create-release-branch-commit-changes-and-push\" aria-label=\"create release branch commit changes and push permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Create release branch, commit changes and push</h3>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> <span class=\"token function\">rm</span> <span class=\"token parameter variable\">-rf</span> gradle/changelog <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> <span class=\"token function\">add</span> CHANGELOG.md <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> checkout <span class=\"token parameter variable\">-b</span> release/<span class=\"token variable\">$VERSION</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> commit <span class=\"token parameter variable\">-m</span> <span class=\"token string\">\"Adjust changelog for release <span class=\"token variable\">$VERSION</span>\"</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> push origin release/<span class=\"token variable\">$VERSION</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">xdg-open</span> <span class=\"token string\">\"https://ecosystem.cloudogu.com/jenkins/view/SCMM/job/SCM/job/scm-manager/job/scm-manager/job/release%252F<span class=\"token variable\">${VERSION}</span>/\"</span></code></pre></div>\n<h3 id=\"wait-for-jenkins-build\" style=\"position:relative;\"><a href=\"#wait-for-jenkins-build\" aria-label=\"wait for jenkins build permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Wait for Jenkins build</h3>\n<p>Jenkins will</p>\n<ul>\n<li>update <code class=\"language-text\">gradle.properties</code> and <code class=\"language-text\">package.json</code></li>\n<li>merge with master branch</li>\n<li>build and deploy everything</li>\n<li>set the new development version for the develop branch</li>\n<li>delete the release branch</li>\n</ul>\n<h3 id=\"make-a-party\" style=\"position:relative;\"><a href=\"#make-a-party\" aria-label=\"make a party permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Make a party</h3>\n<h2 id=\"hotfix-releases-of-scm-manager\" style=\"position:relative;\"><a href=\"#hotfix-releases-of-scm-manager\" aria-label=\"hotfix releases of scm manager permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Hotfix Releases of SCM-Manager</h2>\n<p>To release a hotfix version of SCM-Manager (or in other words a version, that is not based on the current\n<code class=\"language-text\">develop</code> branch but on an older tag), there is a bit more manual work to do and there is no one-fits-all\nway, so consider each step carefully and don't take this as a copy-paste manual like the normal release.</p>\n<h3 id=\"create-hotfix-branch\" style=\"position:relative;\"><a href=\"#create-hotfix-branch\" aria-label=\"create hotfix branch permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Create hotfix branch</h3>\n<p>To trigger the release, create a hotfix branch on the support branch for the release you want to create the hotfix for\n(lets say, that's version <code class=\"language-text\">3.12.0</code> and therefore support branch <code class=\"language-text\">support/3.12.x</code>) and prepare the release like above:</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token builtin class-name\">export</span> <span class=\"token assign-left variable\">HOTFIX_VERSION</span><span class=\"token operator\">=</span><span class=\"token number\">3.12</span>.1\n<span class=\"token function\">git</span> checkout support/3.12.x\n<span class=\"token function\">git</span> checkout <span class=\"token parameter variable\">-b</span> hotfix/<span class=\"token variable\">${HOTFIX_VERSION}</span></code></pre></div>\n<p>Then apply your fixes (eg. by cherry picking the relevant commits) and update the <code class=\"language-text\">CHANGELOG.md</code> (if you\nhave single changelog yaml files, you could use the <code class=\"language-text\">updateChangelog</code> like above).</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\">./gradlew :updateChangelog</code></pre></div>\n<p>Verify, that the new version from the update step is correct and add the <code class=\"language-text\">CHANGELOG.md</code>,\nremove the yamls, and push the hotfix branch:</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> <span class=\"token function\">rm</span> <span class=\"token parameter variable\">-rf</span> gradle/changelog <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> <span class=\"token function\">add</span> CHANGELOG.md <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> commit <span class=\"token parameter variable\">-m</span> <span class=\"token string\">\"Adjust changelog for release <span class=\"token variable\">${HOTFIX_VERSION}</span>\"</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> push origin hotfix/<span class=\"token variable\">${HOTFIX_VERSION}</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">xdg-open</span> <span class=\"token string\">\"https://ecosystem.cloudogu.com/jenkins/view/SCMM/job/SCM/job/scm-manager/job/scm-manager/job/hotfix%252F<span class=\"token variable\">${HOTFIX_VERSION}</span>/\"</span></code></pre></div>\n<p>Jenkins will build and release the versions, create the new tag, but <strong>will not</strong> update the <code class=\"language-text\">main</code> or\n<code class=\"language-text\">develop</code> branches. So these updates come next.</p>\n<h3 id=\"update-branches\" style=\"position:relative;\"><a href=\"#update-branches\" aria-label=\"update branches permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Update Branches</h3>\n<p>Depending on whether you released a hotfix for an older version or the latest release, you have to update\nthe <code class=\"language-text\">main</code> branch to the new tag. So in our example, if there is no version <code class=\"language-text\">3.13.x</code> yet, the new version\n<code class=\"language-text\">3.12.1</code> is the latest version and we have to update <code class=\"language-text\">main</code>:</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> checkout main\n<span class=\"token function\">git</span> merge <span class=\"token variable\">${HOTFIX_VERSION}</span>\n<span class=\"token function\">git</span> push origin main</code></pre></div>\n<p>Regardless of the <code class=\"language-text\">main</code> branch, you should update the <code class=\"language-text\">develop</code> branch and merge the hotfix to make clear,\nthat there are no changes that all changes are part of the current <code class=\"language-text\">develop</code> state. Normally, this leads\nto merge conflicts, because the version on <code class=\"language-text\">develop</code> has been set to a new <code class=\"language-text\">SNAPSHOT</code>, while the version\nof the hotfix has been updated to the new release version. So you have to merge all these conflicts manually.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> checkout develop\n<span class=\"token function\">git</span> merge main</code></pre></div>\n<p>How these conflicts should be merged depends on the version that has been released:</p>\n<ul>\n<li>If it has been a hotfix for an older version, you could keep the SNAPSHOT versions and simply discard the\nreleased version.</li>\n<li>If the hotfix is the new main, you should take this new version and then manually create a new SNAPSHOT\nbased on the new hotfix version number using gradle: <code class=\"language-text\">./gradlew setVersionToNextSnapshot fix</code>. Commit these changes\nwith <code class=\"language-text\">git commit -am \"Prepare for next development iteration\"</code>.</li>\n</ul>\n<h2 id=\"how-to-release-scm-manager-plugins\" style=\"position:relative;\"><a href=\"#how-to-release-scm-manager-plugins\" aria-label=\"how to release scm manager plugins permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>How to release SCM-Manager plugins</h2>\n<p>To release a new version of a Plugin for SCM-Manager you have to do the following steps:</p>\n<h3 id=\"check-out-default-branch-1\" style=\"position:relative;\"><a href=\"#check-out-default-branch-1\" aria-label=\"check out default branch 1 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Check out default branch</h3>\n<p>Make sure you have no changes you want to keep!</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> fetch <span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> checkout <span class=\"token parameter variable\">-f</span> origin/develop <span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> clean <span class=\"token parameter variable\">-fd</span> <span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> checkout <span class=\"token parameter variable\">-B</span> develop</code></pre></div>\n<h3 id=\"merge-support-branch-1\" style=\"position:relative;\"><a href=\"#merge-support-branch-1\" aria-label=\"merge support branch 1 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Merge support branch</h3>\n<p>Check whether there is an integration branch for the previous release or bugfixes not merged into the develop branch. Merge them now.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> merge origin/support/<span class=\"token operator\">&lt;</span>support branch<span class=\"token operator\">></span></code></pre></div>\n<h3 id=\"update-scm-parent-if-necessary\" style=\"position:relative;\"><a href=\"#update-scm-parent-if-necessary\" aria-label=\"update scm parent if necessary permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Update SCM parent if necessary</h3>\n<p>If you need to update the parent of the plugin to a new release of SCM-Manager, change it now:</p>\n<ul>\n<li><code class=\"language-text\">build.gradle</code>: <code class=\"language-text\">scmVersion</code></li>\n<li><code class=\"language-text\">package.json</code>: <code class=\"language-text\">dependencies.ui-plugins</code></li>\n</ul>\n<h3 id=\"plugin-dependencies\" style=\"position:relative;\"><a href=\"#plugin-dependencies\" aria-label=\"plugin dependencies permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Plugin dependencies</h3>\n<p>Check if all plugin dependencies are proper versions and not SNAPSHOT!</p>\n<h3 id=\"build-commit-and-push\" style=\"position:relative;\"><a href=\"#build-commit-and-push\" aria-label=\"build commit and push permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Build, commit and push</h3>\n<p>This step is only needed, when you had to update the version in the prior step.\nIf the core version has not been increased, this step can be skipped.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\">./gradlew build <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> <span class=\"token function\">add</span> yarn.lock build.gradle package.json <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> commit <span class=\"token parameter variable\">-m</span> <span class=\"token string\">\"Update to new version of SCM-Manager\"</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> push origin develop</code></pre></div>\n<p>Wait for Jenkins to be green.</p>\n<h3 id=\"update-changelog-1\" style=\"position:relative;\"><a href=\"#update-changelog-1\" aria-label=\"update changelog 1 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Update Changelog</h3>\n<p>The changelog must be updated to reflect the changes for the new release.\nAll unreleased changes are stored in the <code class=\"language-text\">gradle/changelog</code> directory.\nThe changelog can be updated with the <code class=\"language-text\">updateChangelog</code> gradle task.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token builtin class-name\">export</span> <span class=\"token assign-left variable\">VERSION</span><span class=\"token operator\">=</span><span class=\"token variable\"><span class=\"token variable\">$(</span>./gradlew :updateChangelog <span class=\"token operator\">|</span> <span class=\"token function\">grep</span> <span class=\"token parameter variable\">-oP</span> <span class=\"token string\">\"Using next version \\K[0-9.]+\"</span><span class=\"token variable\">)</span></span>\n<span class=\"token builtin class-name\">echo</span> About to release version <span class=\"token variable\">$VERSION</span></code></pre></div>\n<p>The task will tell you the next version number.</p>\n<p>Now we should manually check if the changelog looks good.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> <span class=\"token function\">diff</span> CHANGELOG.md</code></pre></div>\n<h3 id=\"create-commit-and-push-release-branch\" style=\"position:relative;\"><a href=\"#create-commit-and-push-release-branch\" aria-label=\"create commit and push release branch permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Create, commit and push release branch</h3>\n<p>This step needs the <code class=\"language-text\">VERSION</code> set in the step above.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">git</span> <span class=\"token function\">rm</span> <span class=\"token parameter variable\">-rf</span> gradle/changelog <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> <span class=\"token function\">add</span> CHANGELOG.md <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> checkout <span class=\"token parameter variable\">-b</span> release/<span class=\"token variable\">$VERSION</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> commit <span class=\"token parameter variable\">-m</span> <span class=\"token string\">\"Prepare release of <span class=\"token variable\">$VERSION</span>\"</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">git</span> push origin release/<span class=\"token variable\">$VERSION</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">xdg-open</span> <span class=\"token string\">\"https://ecosystem.cloudogu.com/jenkins/view/SCMM/job/SCM/job/scm-manager-plugins/job/<span class=\"token variable\"><span class=\"token variable\">$(</span><span class=\"token function\">basename</span> <span class=\"token punctuation\">$(</span>pwd<span class=\"token punctuation\">)</span><span class=\"token variable\">)</span></span>/job/release%252F<span class=\"token variable\">${VERSION}</span>/\"</span></code></pre></div>\n<h3 id=\"wait-for-jenkins-build-1\" style=\"position:relative;\"><a href=\"#wait-for-jenkins-build-1\" aria-label=\"wait for jenkins build 1 permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Wait for Jenkins build</h3>\n<p>Jenkins will</p>\n<ul>\n<li>update versions in gradle.properties and package.json</li>\n<li>merge with master branch</li>\n<li>build and deploy everything</li>\n<li>set the new development version for the develop branch</li>\n<li>delete the release branch</li>\n</ul>\n<h3 id=\"attention-creating-new-plugins\" style=\"position:relative;\"><a href=\"#attention-creating-new-plugins\" aria-label=\"attention creating new plugins permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Attention: Creating new plugins</h3>\n<p>If you are creating a new plugin which doesn't exist in the SCM-Manager Plugin-Center yet, your plugin will not be shown after the release.\nFirst you have to create a <code class=\"language-text\">plugin.yml</code> in the website repository.</p>\n<p>Example: <a href=\"https://github.com/scm-manager/website/blob/master/content/plugins/scm-teamscale-plugin/plugin.yml\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https://github.com/scm-manager/website/blob/master/content/plugins/scm-teamscale-plugin/plugin.yml</a></p>\n<h3 id=\"hotfix-release\" style=\"position:relative;\"><a href=\"#hotfix-release\" aria-label=\"hotfix release permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Hotfix Release</h3>\n<p>The release of a hotfix version is still a partly manual process that requires some knowledge\nof git and the versioning of SCM-Manager. Here is a helping hand as a guideline of how to release\na bugfix version of the latest release (for example a 2.x.1 after 2.x.0 has been released).\nMind that this process is only necessary, when there are commits on <code class=\"language-text\">develop</code> that shall <strong>not</strong> be\nreleased, yet.</p>\n<ol>\n<li>Checkout the tag of the release you want to create a bugfix release for (<code class=\"language-text\">git checkout &lt;version to fix></code>)</li>\n<li>Create a hotfix branch for the new version (<code class=\"language-text\">git checkout -b hotfix/&lt;new version></code>)</li>\n<li>Apply the changes upon this branch</li>\n<li>Create the changelog either manually or by running <code class=\"language-text\">./gradlew :updateChangelog</code></li>\n<li>Delete the changelog yaml files and add the <code class=\"language-text\">CHANGELOG.md</code> (<code class=\"language-text\">git rm -rf gradle/changelog &amp;&amp; git add CHANGELOG.md</code>)</li>\n<li>Double check this all</li>\n<li>Commit the changes and push the hotfix branch</li>\n<li>Jenkins will build and release this hotfix with the given version</li>\n</ol>\n<p><strong>Important Note:</strong>\nAfter the first successful run, a second will start and always fail.\nThis is due to the pipeline updating the tag version and commit / pushing this change to the hotfix branch.\nThis second build will always fail, but this second build has no impact on whether the release has been successful or not.</p>\n<ol start=\"9\">\n<li>When Jenkins has finished, fetch the changes (and the new tag)</li>\n<li>Merge this new Tag into <code class=\"language-text\">main</code> (or fast-forward <code class=\"language-text\">main</code> if possible) and push <code class=\"language-text\">main</code>\n(<code class=\"language-text\">git checkout main &amp;&amp; git pull &amp;&amp; git merge hotfix/&lt;new version> &amp;&amp; git push</code>)</li>\n<li>Merge this commit into <code class=\"language-text\">develop</code> and resolve the conflicts</li>\n<li>If the hotfix is based upon the latest release, set the version to the next snapshot (<code class=\"language-text\">./gradlew setVersionToNextSnapshot &amp;&amp; ./gradlew fix</code>) and commit these changes</li>\n</ol>\n<p>If the hotfix has been created for an older release, this process might be somewhat more complicated.</p>","description":"How to release SCM-Manager core (Script) The most easy way to release the core is to use the release script. This will guide you\nthrough all necessary tasks…","tableOfContents":"<ul>\n<li>\n<p><a href=\"#how-to-release-scm-manager-core-script\">How to release SCM-Manager core (Script)</a></p>\n</li>\n<li>\n<p><a href=\"#manual-core-release\">Manual core release</a></p>\n<ul>\n<li><a href=\"#check-out-default-branch\">Check out default branch</a></li>\n<li><a href=\"#merge-support-branch\">Merge support branch</a></li>\n<li><a href=\"#update-changelog\">Update Changelog</a></li>\n<li><a href=\"#create-release-branch-commit-changes-and-push\">Create release branch, commit changes and push</a></li>\n<li><a href=\"#wait-for-jenkins-build\">Wait for Jenkins build</a></li>\n<li><a href=\"#make-a-party\">Make a party</a></li>\n</ul>\n</li>\n<li>\n<p><a href=\"#hotfix-releases-of-scm-manager\">Hotfix Releases of SCM-Manager</a></p>\n<ul>\n<li><a href=\"#create-hotfix-branch\">Create hotfix branch</a></li>\n<li><a href=\"#update-branches\">Update Branches</a></li>\n</ul>\n</li>\n<li>\n<p><a href=\"#how-to-release-scm-manager-plugins\">How to release SCM-Manager plugins</a></p>\n<ul>\n<li><a href=\"#check-out-default-branch-1\">Check out default branch</a></li>\n<li><a href=\"#merge-support-branch-1\">Merge support branch</a></li>\n<li><a href=\"#update-scm-parent-if-necessary\">Update SCM parent if necessary</a></li>\n<li><a href=\"#plugin-dependencies\">Plugin dependencies</a></li>\n<li><a href=\"#build-commit-and-push\">Build, commit and push</a></li>\n<li><a href=\"#update-changelog-1\">Update Changelog</a></li>\n<li><a href=\"#create-commit-and-push-release-branch\">Create, commit and push release branch</a></li>\n<li><a href=\"#wait-for-jenkins-build-1\">Wait for Jenkins build</a></li>\n<li><a href=\"#attention-creating-new-plugins\">Attention: Creating new plugins</a></li>\n<li><a href=\"#hotfix-release\">Hotfix Release</a></li>\n</ul>\n</li>\n</ul>","frontmatter":{"title":"Release process","subtitle":"This is all about how to release the core and plugins","displayToc":true,"description":null,"keywords":null,"image":null}}},"pageContext":{"slug":"/docs/3.12.x/en/release-process/","version":"3.12.x","latestVersion":"3.12.x","latestPageVersion":"3.12.x","language":"en","relativePath":"/release-process/","canonicalPath":"/docs/latest/en/release-process/","latestRootPath":"/docs/3.12.x/en/"}},
    "staticQueryHashes": ["1973669194","2742214048","2956773653","2957019495","698804963"]}