make responses more meaningful
This commit is contained in:
@@ -23,7 +23,8 @@ do
|
||||
output_name+='.exe'
|
||||
fi
|
||||
|
||||
echo "build commences"
|
||||
starttime=$(TZ=Australia/Sydney date +%Y-%m-%dT%T%z)
|
||||
echo "build commences at $starttime"
|
||||
env GOOS=$GOOS GOARCH=$GOARCH go build -trimpath -ldflags="-X main.sha1ver=$commit -X main.buildTime=$buildtime" -o build/$output_name $package
|
||||
if [ $? -ne 0 ]; then
|
||||
echo 'An error has occurred! Aborting the script execution...'
|
||||
|
Reference in New Issue
Block a user