KawAnime/publish.sh

11 lines
312 B
Bash
Executable File

#!/bin/sh
if [ -z "$GH_TOKEN" ]; then
echo "You must set the GH_TOKEN environment variable."
echo "See README.md for more details."
exit 1
fi
# This will build, package and upload the app to GitHub.
npm run build && ./node_modules/.bin/build --win --ia32 --x64 --mac --linux deb AppImage -p always