[rtems-docs commit] Add script to update the version/revision

Sebastian Huber sebh at rtems.org
Wed Dec 21 10:33:48 UTC 2016


Module:    rtems-docs
Branch:    master
Commit:    2c780bf21d78d614749127aee994059518f552f5
Changeset: http://git.rtems.org/rtems-docs/commit/?id=2c780bf21d78d614749127aee994059518f552f5

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Dec 21 11:28:56 2016 +0100

Add script to update the version/revision

---

 maintainer-scripts/update-version.sh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/maintainer-scripts/update-version.sh b/maintainer-scripts/update-version.sh
new file mode 100755
index 0000000..0a58f43
--- /dev/null
+++ b/maintainer-scripts/update-version.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+old="'4\.11\.0'"
+new="'4\.11\.99'"
+
+for i in */conf.py ; do
+  sed -i "s/\(version\|release\) = $old/\1 = $new/g" $i
+done



More information about the vc mailing list