From: Neal Gompa Date: Sun, 8 Feb 2026 20:58:49 +0000 (-0500) Subject: fix(release): use the correct variable to set the new project version X-Git-Tag: 110~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9114d4921920438c95ef17805b2edc300a14985;p=thirdparty%2Fdracut-ng.git fix(release): use the correct variable to set the new project version The DRACUT_FULL_VERSION variable does not exist, and the intent was to update it in place with the generated higher version number in the script. Fixes: d5e985d40e ("feat: move DRACUT_VERSION from dracut-version.sh into dracut.sh") --- diff --git a/tools/release.sh b/tools/release.sh index a01330c0e..b4eb8f676 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -53,7 +53,7 @@ cat NEWS_header.md NEWS_header_new.md NEWS_body_new.md NEWS_body_with_conttribut cat -s NEWS_body_new.md CONTRIBUTORS.md > release.md # update DRACUT_VERSION -sed -i "s;^\(DRACUT_VERSION\)=\".*\"$;\1=\"$(DRACUT_FULL_VERSION)\";" dracut.sh +sed -i "s;^\(DRACUT_VERSION\)=\".*\"$;\1=\"${NEW_VERSION}\";" dracut.sh if [ -z "$(git config --get user.name)" ]; then git config user.name "dracutng[bot]"