File tree Expand file tree Collapse file tree 4 files changed +46
-4
lines changed
Expand file tree Collapse file tree 4 files changed +46
-4
lines changed Original file line number Diff line number Diff line change 44 - " */ql/test/qlpack.yml"
55 - " */ql/examples/qlpack.yml"
66 - " */ql/consistency-queries/qlpack.yml"
7- - " */ql/automodel/qlpack.yml"
7+ - " */ql/automodel/src/qlpack.yml"
8+ - " */ql/automodel/test/qlpack.yml"
89 - " shared/*/qlpack.yml"
910 - " cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/tainted/qlpack.yml"
1011 - " go/ql/config/legacy-support/qlpack.yml"
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ set -e
3+
4+ AUTOMODEL_ROOT=" $( dirname $0 ) "
5+ WORKSPACE_ROOT=" $AUTOMODEL_ROOT /../../../.."
6+ GRPS=" automodel,-test"
7+
8+ if [ -z " $CODEQL_DIST " ]; then
9+ echo " CODEQL_DIST not set"
10+ exit -1
11+ fi
12+
13+ cd " $AUTOMODEL_ROOT "
14+ echo Testing automodel 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 automodel
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 Automodel packs successfully published. Please commit and push the version changes.
Original file line number Diff line number Diff line change 11name : codeql/java-automodel-queries
2- version : 0.0.1
2+ version : 0.0.1-dev
3+ groups :
4+ - java
5+ - automodel
36dependencies :
47 codeql/java-all : ${workspace}
5- extractor : java
6- tests : test
78warnOnImplicitThis : true
Original file line number Diff line number Diff line change 1+ name : codeql/java-automodel-tests
2+ version : 0.0.1-dev
3+ groups :
4+ - java
5+ - automodel
6+ - test
7+ dependencies :
8+ codeql/java-all : ${workspace}
9+ codeql/java-automodel-queries : ${workspace}
10+ extractor : java
11+ tests : .
12+ warnOnImplicitThis : true
You can’t perform that action at this time.
0 commit comments