From d3c6c723886cfe06c37b6ca4ccae49df28132531 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Tue, 28 Jun 2016 16:21:53 +0200 Subject: [PATCH] fix(bump.sh): Added more locations to update --- bump.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/bump.sh b/bump.sh index 3facbe9a..eee0f155 100755 --- a/bump.sh +++ b/bump.sh @@ -11,9 +11,16 @@ tag_curr=$(git tag -l | tail -1) ./version.sh "$tag_curr" -sed -r "s/${tag_prev}/${tag_curr}/g" -i README.md CMakeLists.txt contrib/lemonbuddy.aur/PKGBUILD contrib/lemonbuddy.aur/.SRCINFO -git add README.md CMakeLists.txt contrib/lemonbuddy.aur/PKGBUILD contrib/lemonbuddy.aur/.SRCINFO -git add -u include/version.hpp +sed -r "s/${tag_prev}/${tag_curr}/g" -i \ + README.md CMakeLists.txt \ + contrib/lemonbuddy.aur/PKGBUILD contrib/lemonbuddy.aur/.SRCINFO \ + contrib/lemonbuddy-git.aur/PKGBUILD contrib/lemonbuddy-git.aur/.SRCINFO + +git add -u README.md CMakeLists.txt \ + contrib/lemonbuddy.aur/PKGBUILD contrib/lemonbuddy.aur/.SRCINFO \ + contrib/lemonbuddy-git.aur/PKGBUILD contrib/lemonbuddy-git.aur/.SRCINFO \ + include/version.hpp + git commit -m "build: Bump version to ${tag_curr}" # Recreate the tag to include the last commit