aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-10-09 09:22:29 +0200
committerRobin Jarry <robin@jarry.cc>2023-10-11 10:25:41 +0200
commitd179485eefe50da9d21abdd392cffd865e369509 (patch)
tree08ec08cc6242f9348a8f254d61d6edd2932cd455 /contrib
parentc8469d30947a461f536be8f70e0f2ce9f44481a3 (diff)
downloadaerc-d179485eefe50da9d21abdd392cffd865e369509.tar.gz
aerc-d179485eefe50da9d21abdd392cffd865e369509.zip
release.sh: update version in GNUMakefile
The version is no longer present in Makefile which has been preserved for explicit error reporting with non-GNU make versions. Update the version in GNUMakefile instead. Fixes: d725defa07b5 ("mk: deprecate BSD make in favor of GNU make") Reported-by: Anton Mosich <anton@mosich.at> Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/release.sh b/contrib/release.sh
index 464eaadd..6ba01e14 100755
--- a/contrib/release.sh
+++ b/contrib/release.sh
@@ -12,9 +12,9 @@ fi
tag_url="https://git.sr.ht/~rjarry/aerc/refs/$next_tag"
echo "======= Creating release commit..."
-sed -i Makefile -e "s/$prev_tag/$next_tag/g"
+sed -i GNUMakefile -e "s/$prev_tag/$next_tag/g"
sed -i CHANGELOG.md -e "s|^## \[Unreleased\].*|&\n\n## [$next_tag]($tag_url) - $(date +%Y-%m-%d)|"
-git add Makefile CHANGELOG.md
+git add GNUMakefile CHANGELOG.md
git commit -sm "Release version $next_tag"
echo "======= Creating tag..."