Skip to content

Commit

Permalink
keep trailing 0 in version
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Büttner <[email protected]>
  • Loading branch information
Wuerfelbecher committed Feb 3, 2019
1 parent d573f2d commit 593c6c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bump_version
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 593c6c0

Please sign in to comment.