aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Büttner <thomas@vergesslicher.tech>2019-02-02 20:03:05 +0100
committerThomas Büttner <thomas@vergesslicher.tech>2019-02-03 13:17:31 +0100
commit593c6c071caf908460cb535cee20a8d94080c3b6 (patch)
tree115b25e6d4524efbf10322c00311207ce62397a6
parentd573f2d67164803a1870dc85893ec3b81ea56525 (diff)
keep trailing 0 in version
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
-rwxr-xr-xbump_version3
1 files changed, 1 insertions, 2 deletions
diff --git a/bump_version b/bump_version
index c3f1a78d5..a63fbf735 100755
--- a/bump_version
+++ b/bump_version
@@ -68,8 +68,7 @@ new_version="$1"
# Parse the version from the AssemblyVersion
old_version="$(
grep "AssemblyVersion" ${shared_version_file} \
- | sed -E 's/\[assembly: ?AssemblyVersion\("([0-9\.]+)"\)\]/\1/' \
- | sed -E 's/.0$//'
+ | sed -E 's/\[assembly: ?AssemblyVersion\("([0-9\.]+)"\)\]/\1/'
)"
# Set the shared version to the specified new_version