aboutsummaryrefslogtreecommitdiffhomepage
path: root/update_version.sh
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-05-12 11:36:27 +0300
committerlevlam <levlam@telegram.org>2025-05-12 11:36:27 +0300
commitfe2f2f1d54d44e9a59c4421bf676ee21c3445286 (patch)
tree65672ccca93ab3673e8e69dafa9e9c86074d8439 /update_version.sh
parent361bee8aa657df75d4934ded823821fb8aa12bfa (diff)
Improve 'list of' usage.
Diffstat (limited to 'update_version.sh')
-rwxr-xr-xupdate_version.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_version.sh b/update_version.sh
index a84c79b9f..b69074aa1 100755
--- a/update_version.sh
+++ b/update_version.sh
@@ -3,10 +3,10 @@ cd $(dirname $0)
COMMIT_FILES="example/cpp/CMakeLists.txt example/uwp/extension.vsixmanifest example/uwp/Telegram.Td.UWP.nuspec example/web/tdweb/package.json example/web/tdweb/package-lock.json README.md td/telegram/OptionManager.cpp"
-# check argument '-i' to drop all fixed files list.
+# check argument '-i' to drop the fixed list of files to commit
for arg in "$@"; do if [[ "$arg" == "-i" ]]; then COMMIT_FILES=""; break; fi; done
-# 'git diff' to ensure that 'CMakeLists.txt' is modified.
+# 'git diff' to ensure that 'CMakeLists.txt' is modified
GIT_DIFF=$(git --no-pager diff --unified=0 CMakeLists.txt)
SED_REGEX="project\(TDLib VERSION ([0-9\.]+) LANGUAGES CXX C\)"