We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76565a5 commit 7d4fc80Copy full SHA for 7d4fc80
tests.sh
@@ -16,6 +16,15 @@ if ! ${rl} "${0}" >/dev/null 2>&1; then
16
fi
17
cur=`dirname $(${rl} "${0}")`
18
19
+# make sure both version.py and manpage dotdrop.1 are in sync
20
+dotdrop_version=$(grep version dotdrop/version.py | sed 's/^.*= .\(.*\).$/\1/g')
21
+man_version=$(grep '^\.TH' manpage/dotdrop.1 | sed 's/^.*"dotdrop-\(.*\)\" "Save your.*$/\1/g')
22
+if [ "${dotdrop_version}" != "${man_version}" ]; then
23
+ echo "ERROR version.py (${dotdrop_version}) and manpage (${man_version}) differ!"
24
+ exit 1
25
+fi
26
+echo "current version ${dotdrop_version}"
27
+
28
# test syntax
29
echo "checking syntax..."
30
${cur}/test-syntax.sh
0 commit comments