Skip to content

Commit

Permalink
Avoid duplicate page IDs in the time between project and book releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ao-apps committed Sep 17, 2023
1 parent 08e3c8f commit 95efc30
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ along with semanticcms-core-sitemap. If not, see <https://www.gnu.org/licenses/
datePublished="2016-10-30T18:51:32-05:00"
dateModified="2023-09-17T20:57:06Z"
>
<c:if test="${fn:endsWith('@{project.version}', '-SNAPSHOT') and !fn:endsWith('@{project.version}', '-POST-SNAPSHOT')}">
<c:set var="latestRelease" value="1.15.0" />
<c:if test="${
fn:endsWith('@{project.version}', '-SNAPSHOT')
and !fn:endsWith('@{project.version}', '-POST-SNAPSHOT')
and '@{project.version}-SNAPSHOT' != latestRelease
}">
<changelog:release
projectName="@{documented.name}"
version="@{project.version}"
Expand Down

0 comments on commit 95efc30

Please sign in to comment.