n2n/image-platforms/common/prepare-build.sh
2018-08-18 03:59:18 -03:00

8 lines
128 B
Bash

#!/bin/bash
if [ ! "$COMMIT_HASH" = "" ]; then
echo "Using COMMIT_HASH=$COMMIT_HASH"
git reset --hard $COMMIT_HASH
fi
make