aboutsummaryrefslogtreecommitdiff
path: root/bump_version
diff options
context:
space:
mode:
authorJoshua Boniface <joshua@boniface.me>2019-03-30 12:58:39 -0400
committerJoshua Boniface <joshua@boniface.me>2019-03-30 12:58:39 -0400
commit891a03c038e8ef451d6db3361fefcbf964a7065e (patch)
treebdfc692faca55a167d06b4e32ab84c485ea65787 /bump_version
parent31aa6c486cdeb851dd7ef7c66a82a76302cc632f (diff)
Remove superfluous variable declaration
Diffstat (limited to 'bump_version')
-rwxr-xr-xbump_version1
1 files changed, 0 insertions, 1 deletions
diff --git a/bump_version b/bump_version
index d2560ff1e..b118af54b 100755
--- a/bump_version
+++ b/bump_version
@@ -66,7 +66,6 @@ old_version="$(
)"
old_version_sed="$( sed 's/\./\\./g' <<<"${old_version}" )" # Escape the '.' chars
-new_version_sed="$( cut -f1 -d'-' <<<"${new_version}" )"
sed -i "s/${old_version_sed}/${new_version}/g" ${build_file}
if [[ ${new_version} == *"-"* ]]; then