diff --git a/update-version.sh b/update-version.sh index 7e60981f..a1d2292e 100755 --- a/update-version.sh +++ b/update-version.sh @@ -6,8 +6,12 @@ VERSION_MAJOR=${VERSION_ARRAY[0]} VERSION_MINOR=${VERSION_ARRAY[1]} VERSION_PATCH=${VERSION_ARRAY[2]} +# Update the version number git-lfs is reporting. sed -i "s,\(Version = \"\).*\(\"\),\1$VERSION_STRING\2," config/version.go + +# Update the version number in the RPM package. sed -i "s,\(Version:[[:space:]]*\).*,\1$VERSION_STRING," rpm/SPECS/git-lfs.spec +# Update the version numbers in the Windows installer. sed -i "s,\(FILEVERSION \).*,\1$VERSION_MAJOR\,$VERSION_MINOR\,$VERSION_PATCH\,0," script/windows-installer/resources.rc sed -i "s,\([[:space:]]*VALUE \"ProductVersion\"\, \"\).*\(\\\\0\"\),\1$VERSION_STRING\2," script/windows-installer/resources.rc