From 028f7c74683775158dadc60c8ec518a249808be2 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 9 Dec 2016 09:56:35 +0100 Subject: [PATCH] Add some comments to update-version.sh This is done in a separate commit to check whether this makes trigger Circle CI properly. --- update-version.sh | 4 ++++ 1 file changed, 4 insertions(+) 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