From 227e4d1ef2089b9420c420296371a66320d84dc7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 5 Apr 2023 17:05:58 +0900 Subject: Add release notes for R14.1.0 Signed-off-by: Michele Calgaro --- tde_release_notes | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tde_release_notes') diff --git a/tde_release_notes b/tde_release_notes index bd4e27e0d..b1cb54f5d 100644 --- a/tde_release_notes +++ b/tde_release_notes @@ -19,17 +19,18 @@ fi RELEASE_VERSION="$( ${TDEDIR}/bin/tde-config --version | sed -n 's|^TDE: ||p' )" RELEASE_NOTES="$( ${TDEDIR}/bin/kreadconfig --file ${TDEHOME}/share/config/kdeglobals --group "Release Notes" --key "$RELEASE_VERSION" )" +RELEASE_SERIES="$( ${TDEDIR}/bin/tde-config --version | sed -n 's|^TDE: \([^\.]*\.[^\.]*\).*|\l\1.x|p' )" if [ "$RELEASE_NOTES" = "" ] || [ "$RELEASE_NOTES" != "true" ]; then echo "[release_notes] Release version: $RELEASE_VERSION" echo "[release_notes] Release notes: $RELEASE_NOTES" - if ${TDEDIR}/bin/khelpcenter help:/khelpcenter/releasenotes ; then + if ${TDEDIR}/bin/khelpcenter help:/khelpcenter/releasenotes/${RELEASE_SERIES} ; then ${TDEDIR}/bin/kwriteconfig --file ${TDEHOME}/share/config/kdeglobals --group "Release Notes" --key "$RELEASE_VERSION" --type bool "true" fi RELEASE_NOTES="$( ${TDEDIR}/bin/kreadconfig --file ${TDEHOME}/share/config/kdeglobals --group "Release Notes" --key "$RELEASE_VERSION" )" echo "[release_notes] Release notes: $RELEASE_NOTES" fi -unset RELEASE_NOTES RELEASE_VERSION +unset RELEASE_NOTES RELEASE_VERSION RELEASE_SERIES exit 0 -- cgit v1.2.1