#!/bin/sh
set -e
cd "$(dirname "$0")"
if [ ! -f ./.env ]; then
  echo "ERROR: ./.env not found in $(pwd)" >&2
  echo "Expected at least: CF_API_KEY=<your CurseForge token>" >&2
  exit 1
fi
set -a
. ./.env
set +a
exec ./.release/release.sh "$@"
