Skip to content

Commit 6d62227

Browse files
authored
Merge pull request #7431 from aeisenberg/aeisenberg/solorigate-publish
Solorigate: Extract to separate qlpack
2 parents b3cb250 + 0a2f23f commit 6d62227

File tree

53 files changed

+93
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+93
-7
lines changed

.codeqlmanifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/tainted/qlpack.yml",
99
"javascript/ql/experimental/adaptivethreatmodeling/lib/qlpack.yml",
1010
"javascript/ql/experimental/adaptivethreatmodeling/src/qlpack.yml",
11+
"csharp/ql/campaigns/Solorigate/lib/qlpack.yml",
12+
"csharp/ql/campaigns/Solorigate/src/qlpack.yml",
13+
"csharp/ql/campaigns/Solorigate/test/qlpack.yml",
1114
"misc/legacy-support/*/qlpack.yml",
1215
"misc/suite-helpers/qlpack.yml",
1316
"ruby/extractor-pack/codeql-extractor.yml",
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
dependencies: {}
3+
compiled: false
4+
lockVersion: 1.0.0
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
lastReleaseVersion: 1.0.1
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: codeql/csharp-solorigate-all
2+
version: 1.0.2-dev
3+
groups:
4+
- csharp
5+
- solorigate
6+
library: true
7+
dependencies:
8+
codeql/csharp-all: ~0.0.3
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/sh
2+
set -e
3+
4+
SOLORIGATE_ROOT="$(dirname $0)"
5+
WORKSPACE_ROOT="$SOLORIGATE_ROOT/../../../.."
6+
GRPS="solorigate,-test"
7+
8+
if [ -z "$CODEQL_DIST" ]; then
9+
echo "CODEQL_DIST not set"
10+
exit -1
11+
fi
12+
13+
cd "$SOLORIGATE_ROOT"
14+
echo Testing solorigate queries
15+
"${CODEQL_DIST}/codeql" test run test
16+
17+
cd "$WORKSPACE_ROOT"
18+
19+
echo Preparing release
20+
"${CODEQL_DIST}/codeql" pack release --groups $GRPS
21+
22+
echo Publishing solorigate
23+
"${CODEQL_DIST}/codeql" pack publish --groups $GRPS
24+
25+
echo Bumping versions
26+
"${CODEQL_DIST}/codeql" pack post-release --groups $GRPS
27+
28+
echo Solorigate packs successfully published. Please commit and push the version changes.
Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)