We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d86cd8 + e3a192d commit f43662aCopy full SHA for f43662a
2 files changed
cpp/common/test/rules/donotallowamutextogooutofscopewhilelocked/test.cpp
@@ -131,7 +131,7 @@ void join_threads(std::thread *threads) {
131
132
void f11() {
133
std::thread threads[5];
134
- std::mutex m1; // NON_COMPLIANT (FALSE POSITIVE)
+ std::mutex m1; // COMPLIANT[FALSE_POSITIVE]
135
136
for (int i = 0; i < 5; ++i) {
137
threads[i] = std::thread(t1, i, &m1);
scripts/bump_version.sh
@@ -0,0 +1,14 @@
1
+#!/usr/bin/env bash
2
+
3
4
+if [[ -z $1 ]];
5
+then
6
+ echo "Usage: bump_version.sh <new_version>"
7
+ exit
8
+fi
9
10
+echo "Setting Local Branch Version to $1."
11
12
+find . -name 'qlpack.yml' | grep -v './codeql_modules' | grep -v './scripts' | xargs sed -i "s/^version.*$/version: ${1}/"
13
14
+echo "Done."
0 commit comments