comicbox/scripts/build-release.sh

16 lines
280 B
Bash
Raw Permalink Normal View History

2022-07-25 18:55:13 +00:00
#!/usr/bin/env sh
set -e -u -o pipefail
echo Building production TAR...
mkdir -p comicbox/
mkdir -p comicbox/.next/
cp -r .next/standalone/* comicbox/
cp -r .next/static/ comicbox/.next/
cp next.config.js comicbox/
cp -r public/ comicbox/
tar -cvzf comicbox.tar.gz comicbox/