Skip to content

Commit f793ce1

Browse files
committed
remove temp testing comments
1 parent ed8422a commit f793ce1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

java/ql/automodel/publish.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ if [ $OVERRIDE_RELEASE = 1 ]; then
8888
# Check that the current HEAD is downstream from PREVIOUS_RELEASE_SHA
8989
if ! git merge-base --is-ancestor "$PREVIOUS_RELEASE_SHA" "$CURRENT_SHA"; then
9090
echo "Error: The current HEAD is not downstream from the previous release"
91-
echo "Ignoring"
92-
#exit 1
91+
exit 1
9392
fi
9493
else
9594
# Get the latest release of codeml-automodel
@@ -111,8 +110,7 @@ else
111110
# Check that REVISION is downstream from PREVIOUS_RELEASE_SHA
112111
if ! git merge-base --is-ancestor "$PREVIOUS_RELEASE_SHA" "$REVISION"; then
113112
echo "Error: The codeql version $REVISION is not downstream of the query-pack version $PREVIOUS_RELEASE_SHA"
114-
echo "Ignoring"
115-
#exit 1
113+
exit 1
116114
fi
117115
# Get the version of the codeql code specified by the codeml-automodel release
118116
git checkout "$REVISION"

0 commit comments

Comments
 (0)