n2n/image-platforms/common/prepare-build.sh

8 lines
128 B
Bash
Raw Normal View History

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