#!/bin/bash
# Copyright ETSI 2017
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt

cd "$(dirname "$0")"

run_dir="$(pwd)"

rm build/*-API.yaml
rm build/*-API.json
rm build/*-API.pdf

cd docker

./build-container.sh
./run-container.sh "${run_dir}" "$1"

cd ..

python ./scripts/add_change_comment.py

exit $?
