mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
Change-Id: Ib5e0bd9ec430a6ef3dce6845d7def39720c54637 Depends: Ic5828957a29d4f317e1ebf4f03b5f5359f6250e8 (docker-playground.git) Related: OS#1700
18 lines
403 B
Bash
Executable File
18 lines
403 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
if [ -z "$DOCKER_PLAYGROUND" ]; then
|
|
echo "You need to set DOCKER_PLAYGROUND"
|
|
exit 1
|
|
fi
|
|
|
|
SCRIPT=$(realpath "$0")
|
|
MANUAL_DIR=$(dirname "$SCRIPT")
|
|
|
|
COMMIT=${COMMIT:-$(git log -1 --format=format:%H)}
|
|
|
|
cd "$DOCKER_PLAYGROUND/scripts" || exit 1
|
|
|
|
OSMO_MGW_BRANCH=$COMMIT ./regen_doc.sh osmo-mgw 4243 \
|
|
"$MANUAL_DIR/chapters/counters_generated.adoc" \
|
|
"$MANUAL_DIR/vty/mgw_vty_reference.xml"
|