mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
updated release script
This commit is contained in:
parent
529cc04fd1
commit
5a84cc835a
@ -5,6 +5,19 @@
|
|||||||
Changelog
|
Changelog
|
||||||
*********
|
*********
|
||||||
|
|
||||||
|
next
|
||||||
|
####
|
||||||
|
|
||||||
|
* Paperless now uses mime types and libmagic detection to determine
|
||||||
|
if a file type is supported and which parser to use. Removes all
|
||||||
|
file type checks that where present in MANY different places in
|
||||||
|
paperless.
|
||||||
|
|
||||||
|
* Mail consumer now correctly consumes documents even when their
|
||||||
|
content type was not set correctly. (i.e. PDF documents with
|
||||||
|
content type ``application/octet-stream``)
|
||||||
|
|
||||||
|
|
||||||
paperless-ng 0.9.1
|
paperless-ng 0.9.1
|
||||||
##################
|
##################
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ PAPERLESS_ROOT=$(git rev-parse --show-toplevel)
|
|||||||
# output directory
|
# output directory
|
||||||
PAPERLESS_DIST="$PAPERLESS_ROOT/dist"
|
PAPERLESS_DIST="$PAPERLESS_ROOT/dist"
|
||||||
PAPERLESS_DIST_APP="$PAPERLESS_DIST/paperless-ng"
|
PAPERLESS_DIST_APP="$PAPERLESS_DIST/paperless-ng"
|
||||||
|
PAPERLESS_DIST_DOCKERFILES="$PAPERLESS_DIST/paperless-ng-dockerfiles"
|
||||||
|
|
||||||
if [ -d "$PAPERLESS_DIST" ]
|
if [ -d "$PAPERLESS_DIST" ]
|
||||||
then
|
then
|
||||||
@ -27,6 +28,7 @@ fi
|
|||||||
mkdir "$PAPERLESS_DIST"
|
mkdir "$PAPERLESS_DIST"
|
||||||
mkdir "$PAPERLESS_DIST_APP"
|
mkdir "$PAPERLESS_DIST_APP"
|
||||||
mkdir "$PAPERLESS_DIST_APP/docker"
|
mkdir "$PAPERLESS_DIST_APP/docker"
|
||||||
|
mkdir "$PAPERLESS_DIST_DOCKERFILES"
|
||||||
|
|
||||||
# setup dependencies.
|
# setup dependencies.
|
||||||
|
|
||||||
@ -78,9 +80,9 @@ cp "$PAPERLESS_ROOT/docker/local/"* "$PAPERLESS_DIST_APP"
|
|||||||
cp "$PAPERLESS_ROOT/docker/docker-compose.env" "$PAPERLESS_DIST_APP"
|
cp "$PAPERLESS_ROOT/docker/docker-compose.env" "$PAPERLESS_DIST_APP"
|
||||||
|
|
||||||
# docker files for pulling from docker hub
|
# docker files for pulling from docker hub
|
||||||
cp "$PAPERLESS_ROOT/docker/hub/"* "$PAPERLESS_DIST"
|
cp "$PAPERLESS_ROOT/docker/hub/"* "$PAPERLESS_DIST_DOCKERFILES"
|
||||||
cp "$PAPERLESS_ROOT/.env" "$PAPERLESS_DIST"
|
cp "$PAPERLESS_ROOT/.env" "$PAPERLESS_DIST_DOCKERFILES"
|
||||||
cp "$PAPERLESS_ROOT/docker/docker-compose.env" "$PAPERLESS_DIST"
|
cp "$PAPERLESS_ROOT/docker/docker-compose.env" "$PAPERLESS_DIST_DOCKERFILES"
|
||||||
|
|
||||||
# auxiliary files required for the docker image
|
# auxiliary files required for the docker image
|
||||||
cp "$PAPERLESS_ROOT/docker/docker-entrypoint.sh" "$PAPERLESS_DIST_APP/docker/"
|
cp "$PAPERLESS_ROOT/docker/docker-entrypoint.sh" "$PAPERLESS_DIST_APP/docker/"
|
||||||
@ -99,3 +101,4 @@ docker build . -t "jonaswinkler/paperless-ng:$VERSION"
|
|||||||
cd "$PAPERLESS_DIST"
|
cd "$PAPERLESS_DIST"
|
||||||
|
|
||||||
tar -cJf "paperless-ng-$VERSION.tar.xz" paperless-ng/
|
tar -cJf "paperless-ng-$VERSION.tar.xz" paperless-ng/
|
||||||
|
tar -cJf "paperless-ng-$VERSION-dockerfiles.tar.xz" paperless-ng-dockerfiles/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user