KawAnime/publish.sh

13 lines
358 B
Bash
Raw Normal View History

#!/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
# Reinstalling development packages
npm install