Commit 82a6f3a7 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Do not learn from generated games

Generated games suck.
parent fef85b46
Pipeline #170719 passed with stages
in 29 minutes and 47 seconds
......@@ -71,30 +71,3 @@ do
exit 1
fi
done
if test "x$CI_COMMIT_TAG" != "x"
then
cd dataset
git checkout -b "update-generated-from-$VERSION" || exit 1
if git add . && git commit -m"Add the generated datasets from version $VERSION"
then
git push origin "update-generated-from-$VERSION" || exit 1
fi
DATA=$(cat <<EOF
{
"id": $CI_PROJECT_ID,
"source_branch": "update-generated-from-$VERSION",
"target_branch": "master",
"title": "Update with the generated games for version $VERSION",
"remove_source_branch": true
}
EOF
)
curl \
--request POST \
--header "Content-Type: application/json" \
--header "PRIVATE-TOKEN: $PRIVATE_TOKEN" \
--data "$DATA" \
"$CI_API_V4_URL/projects/46125/merge_requests" \
|| exit 1
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment