Skip to content

Commit

Permalink
build-script error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kelke committed Jul 16, 2024
1 parent a469609 commit 3ceb372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ function build() {
echo "Building for '$GOOS $GOARCH' to '$output_name'"
env GOOS=$GOOS GOARCH=$GOARCH go build -o $output_name -ldflags "-X main.Version=$(git describe --tags)"
cp $output_name bin/mkcert-$GOOS
cd bin
cd bin || return
shasum -a 256 mkcert-$GOOS
cd ..
cd .. || return
}

function build_all() {
Expand Down

0 comments on commit 3ceb372

Please sign in to comment.