summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Clemencic <marco.clemencic@cern.ch>2013-02-15 15:46:18 +0000
committerMarco Clemencic <marco.clemencic@cern.ch>2013-02-15 15:46:18 +0000
commit411d584f3ac5df3fe527e7986ab8b975a9349dee (patch)
tree72b4c77b9f3004e0738689c4d41b469bf187c4fa
parent2659827eb2d577c3c9e5b49b05897470184c2739 (diff)
fixed update_versions.py to change the version in global CMakeLists.txt
From: Marco Clemencic <marco.clemencic@cern.ch> git-svn-id: svn+ssh://svn.cern.ch/reps/gaudi/Gaudi/trunk@7124 53ecefc3-a64d-0410-9bdf-b8581fa3287e
-rwxr-xr-xGaudiRelease/cmt/update_versions.py9
-rw-r--r--GaudiRelease/doc/release.notes3
2 files changed, 12 insertions, 0 deletions
diff --git a/GaudiRelease/cmt/update_versions.py b/GaudiRelease/cmt/update_versions.py
index 7d7ffa5..c3df08c 100755
--- a/GaudiRelease/cmt/update_versions.py
+++ b/GaudiRelease/cmt/update_versions.py
@@ -217,5 +217,14 @@ def main():
out.append(l)
open(global_rel_notes, "w").writelines(out)
+ # update the global CMakeLists.txt
+ global_cmakelists = os.path.join("..","..","CMakeLists.txt")
+ out = []
+ for l in open(global_cmakelists):
+ if l.strip().startswith('gaudi_project'):
+ l = 'gaudi_project(Gaudi %s)\n' % new_version
+ out.append(l)
+ open(global_cmakelists, "w").writelines(out)
+
if __name__ == '__main__':
main()
diff --git a/GaudiRelease/doc/release.notes b/GaudiRelease/doc/release.notes
index 6fba48b..90c0627 100644
--- a/GaudiRelease/doc/release.notes
+++ b/GaudiRelease/doc/release.notes
@@ -1,6 +1,9 @@
Package: GaudiRelease
Manatiner: Marco Clemencic
+! 2013-02-15 - Marco Clemencic
+ - Fixed update_versions.py to change the version in the global CMakeLists.txt.
+
============================= GaudiRelease v23r6 =============================
! 2013-01-28 - Marco Clemencic
- Minor fix to update_versions.py.