keep trailing 0 in version

Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
pull/800/head
Thomas Büttner 6 years ago
parent d573f2d671
commit 593c6c071c
No known key found for this signature in database
GPG Key ID: 5C40118B4012D450

@ -68,8 +68,7 @@ new_version="$1"
# Parse the version from the AssemblyVersion # Parse the version from the AssemblyVersion
old_version="$( old_version="$(
grep "AssemblyVersion" ${shared_version_file} \ grep "AssemblyVersion" ${shared_version_file} \
| sed -E 's/\[assembly: ?AssemblyVersion\("([0-9\.]+)"\)\]/\1/' \ | sed -E 's/\[assembly: ?AssemblyVersion\("([0-9\.]+)"\)\]/\1/'
| sed -E 's/.0$//'
)" )"
# Set the shared version to the specified new_version # Set the shared version to the specified new_version

Loading…
Cancel
Save