Automatic build action, take 3

This commit is contained in:
Jarno Rankinen 2024-03-07 23:16:23 +02:00
parent 59f051b4dd
commit 7d97e22b69
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
#!/bin/bash -x
pwd
if [[ "$1" == "-h" ]] || [[ "$1" == "--help" ]]; then
echo -e "Usage: $0 [ARCH|-h|--help]"
@ -19,4 +21,4 @@ CGO_ENABLED=0 GOOS=linux GOARCH="$ARCH" go build -o "../BUILD/enervent-ctrl-${VE
rm -rf ./*
popd &> /dev/null || exit 1
popd &> /dev/null || exit 1