summaryrefslogtreecommitdiff
path: root/other/version-sync
diff options
context:
space:
mode:
authorCarsten Brandt <mail@cebe.cc>2017-01-17 19:47:12 +0100
committerSergey 'Jin' Bostandzhyan <jin at mediatomb dot cc>2017-01-18 11:20:07 +0100
commit86e67f805ad4328afe97273a04cfc8d5b322403b (patch)
tree19cf151e04c60b3562db73074934f11f36362da8 /other/version-sync
parent3520eee05d9828f16434f1c3591ea0f9a2153596 (diff)
decouple version-sync script from cmake
Diffstat (limited to 'other/version-sync')
-rwxr-xr-xother/version-sync4
1 files changed, 4 insertions, 0 deletions
diff --git a/other/version-sync b/other/version-sync
index fdfe91d9..fa408c2d 100755
--- a/other/version-sync
+++ b/other/version-sync
@@ -29,6 +29,10 @@ update 'toxcore/tox.api.h' 's/\(const VERSION_MAJOR *= \).*;/\1'$MAJOR';/'
29update 'toxcore/tox.api.h' 's/\(const VERSION_MINOR *= \).*;/\1'$MINOR';/' 29update 'toxcore/tox.api.h' 's/\(const VERSION_MINOR *= \).*;/\1'$MINOR';/'
30update 'toxcore/tox.api.h' 's/\(const VERSION_PATCH *= \).*;/\1'$PATCH';/' 30update 'toxcore/tox.api.h' 's/\(const VERSION_PATCH *= \).*;/\1'$PATCH';/'
31 31
32update 'CMakeLists.txt' 's/\(PROJECT_VERSION_MAJOR "\).*"/\1'$MAJOR'"/'
33update 'CMakeLists.txt' 's/\(PROJECT_VERSION_MINOR "\).*"/\1'$MINOR'"/'
34update 'CMakeLists.txt' 's/\(PROJECT_VERSION_PATCH "\).*"/\1'$PATCH'"/'
35
32# 36#
33# calculating the SO version 37# calculating the SO version
34# 38#