mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-12-27 09:56:33 +00:00
keep trailing 0 in version
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
This commit is contained in:
parent
d573f2d671
commit
593c6c071c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue