We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2136a35 commit 6e172e9Copy full SHA for 6e172e9
1 file changed
scripts/bump_version.sh
@@ -9,6 +9,14 @@ fi
9
10
echo "Setting Local Branch Version to $1."
11
12
+# update the qlpacks
13
find . -name 'qlpack.yml' | grep -v './codeql_modules' | grep -v './scripts' | xargs sed -i "s/^version.*$/version: ${1}/"
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
22
echo "Done."
0 commit comments