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 790117a commit d1d1b51Copy full SHA for d1d1b51
ngx-releng
@@ -7,7 +7,11 @@ if [ -n "$wiki_file" -a -f "$wiki_file" ]; then
7
#pod2text /tmp/a.pod > README || exit 1
8
fi
9
10
-ack '(?<=This document describes )(?:.*-nginx-module|ngx_\w+) .*?v(\d+\.\d[^\s\]]*)' README.markdown
+if [ -f README.markdown ]; then
11
+ ack '(?<=This document describes )(?:.*-nginx-module|ngx_\w+) .*?v(\d+\.\d[^\s\]]*)' README.markdown
12
+elif [ -f README.md ]; then
13
+ ack '(?<=This document describes )(?:.*-nginx-module|ngx_\w+) .*?v(\d+\.\d[^\s\]]*)' README.md
14
+fi
15
16
echo =======================================
17
0 commit comments