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 18, 2023
1 parent 207e025 commit bd30ace
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-pagegraph. If not, see <https://www.gnu.org/licenses/>.
datePublished="2016-10-29T11:43:25-05:00"
dateModified="2023-02-26T14:03:56Z"
>
<c:if test="${fn:endsWith('@{project.version}', '-SNAPSHOT') and !fn:endsWith('@{project.version}', '-POST-SNAPSHOT')}">
<c:set var="latestRelease" value="1.7.0" />
<c:if test="${
fn:endsWith('@{project.version}', '-SNAPSHOT')
and !fn:endsWith('@{project.version}', '-POST-SNAPSHOT')
and '@{project.version}' != (latestRelease.concat('-SNAPSHOT'))
}">
<changelog:release
projectName="@{documented.name}"
version="@{project.version}"
Expand Down

0 comments on commit bd30ace

Please sign in to comment.