training-guides/tools/add-marker.sh
Andreas Jaeger 962283e8dd Fix translation AFS publishing
Add marker correctly, we cannot redirect in tox.ini, thus need a shell
script to do the redirects.

This adds a new shell script to just add a marker call add-marker.sh

Change-Id: I76cd140ad5ac1fb2163a11ab760134256b04f8dd
2016-10-03 16:30:00 +02:00

12 lines
268 B
Bash
Executable File

#!/bin/bash
if [[ $# != 1 ]] ; then
echo "Pass directory to add marker to as single paramter"
exit 1
fi
# This marker is needed for infra publishing
MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID"
echo $MARKER_TEXT > $1/.root-marker