-#!/bin/bash
+#!/bin/bash -e
SCRIPT_FILE=$(readlink -f $0)
SCRIPT_DIR=$(dirname $SCRIPT_FILE)
$RUN_BUILD /t:clean
$RUN_BUILD /t:restore $NUGET_SOURCE_OPT $@
$RUN_BUILD /t:build /fl $@
+ $RUN_BUILD /t:dummy
}
cmd_dummy_build() {
cmd_pack() {
VERSION=$1
if [ -z "$VERSION" ]; then
+ pushd $SCRIPT_DIR > /dev/null
VERSION=$VERSION_PREFIX.$((10000+$(git rev-list --count HEAD)))
+ popd > /dev/null
fi
$RUN_BUILD /t:pack /p:Version=$VERSION