Index: build/update-wiki ================================================================== --- build/update-wiki +++ build/update-wiki @@ -29,15 +29,16 @@ return 0 } # Generate the new downloads page function generateDownloads() { - local version tarball sha256 + local version tarball sha256 manualPDF version="$1" tarball="$2" sha256="$3" + manualPDF="$4" if [ -z "${version}" -o -z "${tarball}" ]; then return 0 fi @@ -44,11 +45,11 @@ echo 'Tcl Nano' echo '========' echo '' echo "Current release: **${version}**" echo '' - echo " - [Manual](/uv/manuals/tcl-nano-${version}-manual.pdf)" + echo " - [Manual](/uv/${manualPDF})" echo ' - Downloads:' echo " - [Source](/uv/${tarball}) (SHA2-256: ${sha256})" echo '' echo "Older releases may be found in the [archives](/uvlist)." @@ -97,13 +98,13 @@ fossil uv add "${tclNanoReleaseManualPDFTmp}" --as "${tclNanoReleaseManualPDF}" rm -f "${tclNanoReleaseManualPDFTmp}" fi # Generate the new download page entry -downloadsPage="$(generateDownloads "${tclNanoReleaseVersion}" "${tclNanoReleaseTarball}" "${tclNanoReleaseTarballSHA256}")" +downloadsPage="$(generateDownloads "${tclNanoReleaseVersion}" "${tclNanoReleaseTarball}" "${tclNanoReleaseTarballSHA256}" "${tclNanoReleaseManualPDF}")" updatePage "${wikiPageDownloads}" "${downloadsPage}" 'markdown' # Push changes if any have been made fossil sync fossil uv sync exit 0