File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Original file line number Diff line number Diff line change 9
9
10
10
echo " Setting Local Branch Version to $1 ."
11
11
12
+ # update the qlpacks
12
13
find . -name ' qlpack.yml' | grep -v ' ./codeql_modules' | grep -v ' ./scripts' | xargs sed -i " s/^version.*$/version: ${1} /"
13
14
15
+ # update the documentation.
16
+
17
+ find docs -name ' user_manual.md' | xargs sed -i " s/code-scanning-cpp-query-pack-anon-.*\.zip\` /code-scanning-cpp-query-pack-anon-${1} .zip\` /"
18
+ find docs -name ' user_manual.md' | xargs sed -i " s/supported_rules_list_.*\.csv\` /supported_rules_list_${1} .csv\` /"
19
+ find docs -name ' user_manual.md' | xargs sed -i " s/supported_rules_list_.*\.md\` /upported_rules_list_${1} .md\` /"
20
+ find docs -name ' user_manual.md' | xargs sed -i " s/user_manual_.*\.md\` /user_manual_${1} .md\` /"
21
+
14
22
echo " Done."
You can’t perform that action at this time.
0 commit comments