Skip to content

Commit

Permalink
Remove migration steps from release notes (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
stianst authored Sep 13, 2023
1 parent e409069 commit e9a29dd
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 915 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/keycloak/webbuilder/Versions.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public Versions(File versionsDir, JsonParser json) {
}

public Version getLatest() {
return get(0);
return get(1);
}

public Version getPrevious() {
Expand Down
3 changes: 0 additions & 3 deletions src/main/java/org/keycloak/webbuilder/WebBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
import org.keycloak.webbuilder.builders.AppBuilder;
import org.keycloak.webbuilder.builders.BlogBuilder;
import org.keycloak.webbuilder.builders.ChangelogBuilder;
import org.keycloak.webbuilder.builders.Cleaner;
import org.keycloak.webbuilder.builders.DocumentationArchiveBuilder;
import org.keycloak.webbuilder.builders.DownloadsArchiveBuilder;
import org.keycloak.webbuilder.builders.GuideBuilder;
import org.keycloak.webbuilder.builders.MigrationNotesBuilder;
import org.keycloak.webbuilder.builders.PageBuilder;
import org.keycloak.webbuilder.builders.ReleaseNotesBuilder;
import org.keycloak.webbuilder.builders.ResourcesBuilder;
Expand All @@ -25,7 +23,6 @@ public class WebBuilder {
// new Cleaner(),
new ResourcesBuilder(),
new ReleaseNotesBuilder(),
new MigrationNotesBuilder(),
new ChangelogBuilder(),
new BlogBuilder(),
new GuideBuilder(),
Expand Down

This file was deleted.

11 changes: 0 additions & 11 deletions templates/blog-release-1.ftl

This file was deleted.

13 changes: 3 additions & 10 deletions templates/blog-release-2.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
<#include "../${version.releaseNotes}">
</#if>

<h2>Migration from ${versionPrevious.versionShorter}</h2>
<p>Before you upgrade remember to backup your database. If you are not on the previous release refer to <a href="${home}/docs/latest/upgrading/index.html#migration-changes">the documentation</a> for a complete list of migration changes.</p>

<#if version.migrationNotes??>
<#include "../${version.migrationNotes}">
</#if>
<h2>Upgrading</h2>
<p>Before upgrading refer to <a href="${home}/docs/latest/upgrading/index.html#migration-changes">the migration guide</a> for a complete list of changes.</p>

<#if version.changes??>
<h2>All resolved issues</h2>
Expand Down Expand Up @@ -51,7 +47,4 @@
</ul>
</#if>

</#if>

<h2>Upgrading</h2>
<p>Before you upgrade remember to backup your database and check the <a href="${home}/docs/latest/upgrading/index.html">upgrade guide</a> for anything that may have changed.</p>
</#if>
128 changes: 0 additions & 128 deletions templates/documentation-7.ftl

This file was deleted.

128 changes: 0 additions & 128 deletions templates/documentation-8.ftl

This file was deleted.

Loading

0 comments on commit e9a29dd

Please sign in to comment.