Skip to content

Commit

Permalink
new release to improve jnlp and jar links
Browse files Browse the repository at this point in the history
  • Loading branch information
gmella committed Sep 10, 2024
1 parent de8a189 commit f9ba278
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion expath-pkg.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<package
xmlns="http://expath.org/ns/pkg" name="http://exist.jmmc.fr/releases/apps/releases"
abbrev="releases" version="1.1.4" spec="1.0">
abbrev="releases" version="1.1.5" spec="1.0">
<title>JMMC applications's latest releases</title>
<dependency processor="http://exist-db.org" semver-min="5.3.0"/>
<dependency package="http://exist-db.org/html-templating" semver-min="1.0.2"/>
Expand Down
11 changes: 6 additions & 5 deletions modules/app.xqm
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,13 @@ declare function app:release-table($use-cache as xs:boolean){
let $jnlp-url := $location||$name||'.jnlp'
let $last-modified := app:last-modified($jnlp-url, $use-cache)
let $jar-url := $location||$name||"-"|| translate($version, " ", "") ||'.jar' (: try to mimic jar name format :)
let $version := <div class="d-flex justify-content-between">
let $version := <div class="d-flex justify-content-between text-nowrap">
<span>{$version}</span>
<span>
<a href="{$jnlp-url}">JNLP</a>&#160;
<a href="{$jar-url}">JAR</a>
</span>
<span><small>
<a href="{$jnlp-url}">jnlp</a>&#160;
<a href="{$jar-url}">jar</a>
</small></span>
</div>
return
Expand Down
10 changes: 8 additions & 2 deletions repo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@
<description>JMMC applications's latest releases</description>
<author>JMMC Tech Group</author>
<website>https://www.jmmc.fr</website>
<status>alpha</status>
<status>stable</status>
<license>AGPL-3.0</license>
<copyright>true</copyright>
<type>application</type>
<target>releases</target>
<prepare>pre-install.xq</prepare>
<finish>post-install.xq</finish>
<changelog>
<change xmlns="" version="1.1.4">
<change xmlns="" version="1.1.5">
<h3>2024-09-10</h3>
<ul>
<li>Improve css for jnlp and jar links.</li>
</ul>
</change>
<change xmlns="" version="1.1.4">
<h3>2023-07-12</h3>
<ul>
<li>Improve reliability looping on the service loop ignoring some broken ones.</li>
Expand Down

0 comments on commit f9ba278

Please sign in to comment.