commit d3273b5848db0bc0c6becd883c5b4769045c7937
parent 4f5a5bde6a04a144e35d2c02742633bf671e2b6c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 16 Mar 2022 18:13:24 +0100
stardis: publish the Starter-Pack 0.2
Diffstat:
3 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/stardis/Makefile b/stardis/Makefile
@@ -17,7 +17,7 @@
include ../config.mk
STARDIS_VERSION=0.13.1
-STARTER_PACK_VERSION=0.1.0
+STARTER_PACK_VERSION=0.2.0
STARDIS_DIR=Stardis-$(STARDIS_VERSION)-GNU-Linux64
STARDIS_ARCH=downloads/$(STARDIS_DIR).tar.gz
@@ -37,6 +37,7 @@ STARTER_PACK_DIR=Stardis-Starter-Pack-$(STARTER_PACK_VERSION)
STARTER_PACK_ARCH=downloads/$(STARTER_PACK_DIR).tar.gz
STARTER_PACK_README=$(STARTER_PACK_DIR)/README.md
STARTER_PACK_PKG=\
+ ./downloads/Stardis-Starter-Pack-0.2.0.tar.gz\
./downloads/Stardis-Starter-Pack-0.1.0.tar.gz\
./downloads/Stardis-Starter-Pack-0.0.0.tar.gz
STARTER_PACK_SIG=$(STARTER_PACK_PKG:=.sig)
diff --git a/stardis/downloads/Stardis-Starter-Pack-0.2.0.tar.gz b/stardis/downloads/Stardis-Starter-Pack-0.2.0.tar.gz
@@ -0,0 +1 @@
+#$# git-wad cb5c9421676966162b2cfa55adee742d0461d09d3ccc7227da49614d3d887e41 1403289
+\ No newline at end of file
diff --git a/stardis/stardis_build.sh b/stardis/stardis_build.sh
@@ -97,8 +97,11 @@ starter_pack()
| sed -n '/^<h2>Content<\/h2>/,/^<h3>The porous medium<\/h3>/p' \
| sed -e '1d' -e '$d')
content2=$(echo "${readme}" \
- | sed -n '/^<h3>The porous medium<\/h3>/,/^<h2>Copyright notice<\/h2>/p' \
+ | sed -n '/^<h3>The porous medium<\/h3>/,/^<h2>Release notes<\/h2>/p' \
| sed '$d')
+ release_notes=$(echo "${readme}" \
+ | sed -n '/^<h2>Release notes<\/h2>/,/^<h2>Copyright notice<\/h2>/p' \
+ | sed -e '1d' -e '$d')
license=$(echo "${readme}" \
| sed -n '/^<h2>Copyright notice<\/h2>/,$p' \
| sed 's/opyright (C)/opyright \©/g')
@@ -161,6 +164,32 @@ starter_pack()
echo "</div>"
echo "${content2}"
+
+ echo "<h2>Downloads</h2>"
+
+ echo "<table>"
+ echo " <tr>"
+ echo " <th>Version</th>"
+ echo " <th>Archive</th>"
+ echo " </tr>"
+
+ archs=$(find downloads -name "Stardis-Starter-Pack*.tar.gz" | sort -r)
+ echo "${archs}" |
+ while read -r i ; do
+ version=$(echo "${i}" | sed "s/.*Starter-Pack-\(.*\)\.tar.gz/\1/g")
+ echo " <tr>"
+ echo " <td>${version}</td>"
+ echo " <td>"
+ echo " [<a href=\"${i}\">tarball</a>]"
+ if [ -f "${i}.sig" ]; then
+ echo " [<a href=\"${i}.sig\">pgp</a>]"
+ fi
+ echo " </td>"
+ echo " </tr>"
+ done
+ echo "</table>"
+
+ echo "${release_notes}"
echo "${license}"
print_footer