aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-09-26 15:08:39 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2024-09-26 15:10:43 +0200
commit76dc36b490ba812c59c6595f3d70ebe9f86c6c94 (patch)
tree2de672abef3c30c5acbdb17fab3d74b22ac03eca
parente9d1d3dc9aa4b53be536f97f253cc908e58429ec (diff)
Fix version substitution in release script
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rwxr-xr-xscripts/mksrcrelease.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mksrcrelease.sh b/scripts/mksrcrelease.sh
index c08c834..f451b87 100755
--- a/scripts/mksrcrelease.sh
+++ b/scripts/mksrcrelease.sh
@@ -115,7 +115,7 @@ release_name="squashfs-tools-ng-${new_ver}"
[ -z "$(git tag -l "$tag_name")" ] || fatal "Tag $tag_name already exists"
# Change the version in the configure.ac
-sed -i -e "s/$old_ver/$new_ver/g" configure.ac
+sed -i -e "s/\[$old_ver\]/\[$new_ver\]/g" configure.ac
sed -i -e "s/$old_so_ver/$new_so_ver/g" configure.ac
# Commit the change, create new signed tag