From d4cc7dcfdfd582342bf9e5056ea2d8553c39b796 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Tue, 19 Mar 2024 23:44:01 -0400 Subject: [PATCH] Generate news from markdown file --- buildscripts/news.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ docs/RELEASE.md | 6 ++++++ 2 files changed, 48 insertions(+) create mode 100755 buildscripts/news.sh create mode 100644 docs/RELEASE.md diff --git a/buildscripts/news.sh b/buildscripts/news.sh new file mode 100755 index 0000000..f167ee7 --- /dev/null +++ b/buildscripts/news.sh @@ -0,0 +1,42 @@ +#! /usr/bin/env bash + +SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)/.. +cd "$SCRIPT_DIR" || exit 1 + +. "$SCRIPT_DIR/i2pversion" + +if [ -f i2pversion_override ]; then + . "$SCRIPT_DIR/i2pversion_override" +fi + +. "$SCRIPT_DIR/config.sh" + +if [ -f "$SCRIPT_DIR/config_override.sh" ]; then + . "$SCRIPT_DIR/config_override.sh" +fi + +if [ -z "$I2P_NEWSXML" ]; then + if [ -d "../i2p.newsxml" ]; then + export I2P_NEWSXML="../i2p.newsxml" + else + echo "i2p.newsxml is not in the parent directory and I2P_NEWSXML is unset" + exit 1 + fi +fi + +cd "$I2P_NEWSXML" || exit 1 +export TITLE="Easy-Install for Windows Release $I2P_VERSION" +echo "$TITLE" +export AUTHOR=idk +echo "$AUTHOR" +export EDITOR=true +echo "canceled manual editor" +export I2P_OS=win +echo "$I2P_OS" +export I2P_BRANCH=beta +echo "$I2P_VERSION" +export SUMMARY_HERE=$(head -n 1 "$SCRIPT_DIR/docs/RELEASE.md" | sed "s|# ||g") +echo "$SUMMARY_HERE" +export CONTENT_HERE=$(tail -n +2 "$SCRIPT_DIR/docs/RELEASE.md" | markdown) +echo "$CONTENT_HERE" +./create_new_entry.sh \ No newline at end of file diff --git a/docs/RELEASE.md b/docs/RELEASE.md new file mode 100644 index 0000000..091f024 --- /dev/null +++ b/docs/RELEASE.md @@ -0,0 +1,6 @@ +# I2P Easy-Install Bundle for Windows 2.4.9 + +This is a pre-release of the I2P Easy-Install Bundle for Windows. +This changes how the I2P bundle and browser profile manager are installed and integrated with the host system. +The Easy-Install bundle is now a "portable" system that can be moved to different locations within or between Windows file-systems while retaining all built-in functionality. +A shortcut for starting the I2P router is still provided by the installer for convenience, but the shortcuts for starting the I2P Browser are now integrated with the I2P desktop UI.