Skip to content

Commit

Permalink
add some sanity checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jan 9, 2024
1 parent 51a98e4 commit c0de4de
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
#!/bin/bash
set -e

if [ -z "$COMMITINFO" ]; then
echo "Missing COMMITINFO"; exit 1
fi
if [ -z "$MAINTAINERINFO" ]; then
echo "Missing MAINTAINERINFO"; exit 1
fi

# What are we deploying
case "${TARGET}" in
"source")
Expand Down

0 comments on commit c0de4de

Please sign in to comment.