]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(release): use the correct variable to set the new project version
authorNeal Gompa <neal@gompa.dev>
Sun, 8 Feb 2026 20:58:49 +0000 (15:58 -0500)
committerNeal Gompa (ニール・ゴンパ) <ngompa13@gmail.com>
Sun, 8 Feb 2026 21:04:13 +0000 (16:04 -0500)
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")
tools/release.sh

index a01330c0e3814615d9ee9972cb360af0018216ed..b4eb8f67654f7bc14b2418a83f71e06fce34c275 100755 (executable)
@@ -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]"