updated the build process, it now works on RPi as well.

This commit is contained in:
Jonas Winkler 2020-11-18 22:43:36 +01:00
parent d8e6804650
commit 0bc6d471fa
6 changed files with 83 additions and 106 deletions

23
scripts/push-release.sh Executable file
View file

@ -0,0 +1,23 @@
#!/bin/bash
set -e
VERSION=$1
if [ -z "$VERSION" ]
then
echo "Need a version string."
exit 1
fi
# source root directory of paperless
PAPERLESS_ROOT=$(git rev-parse --show-toplevel)
# output directory
PAPERLESS_DIST="$PAPERLESS_ROOT/dist"
PAPERLESS_DIST_APP="$PAPERLESS_DIST/paperless-ng"
cd "$PAPERLESS_DIST_APP"
docker push "jonaswinkler/paperless-ng:$VERSION"