mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Improves and clarifies the release distribution steps. No changes to static copying
This commit is contained in:
parent
9b3ec22beb
commit
8fea4c00ad
48
.github/workflows/ci.yml
vendored
48
.github/workflows/ci.yml
vendored
@ -429,20 +429,46 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Move files
|
name: Move files
|
||||||
run: |
|
run: |
|
||||||
mkdir dist
|
echo "Making dist folders"
|
||||||
mkdir dist/paperless-ngx
|
for directory in dist \
|
||||||
mkdir dist/paperless-ngx/scripts
|
dist/paperless-ngx \
|
||||||
cp .dockerignore .env Dockerfile Pipfile Pipfile.lock requirements.txt LICENSE README.md dist/paperless-ngx/
|
dist/paperless-ngx/scripts;
|
||||||
cp paperless.conf.example dist/paperless-ngx/paperless.conf
|
do
|
||||||
cp gunicorn.conf.py dist/paperless-ngx/gunicorn.conf.py
|
mkdir --verbose --parents ${directory}
|
||||||
cp -r docker/ dist/paperless-ngx/docker
|
done
|
||||||
cp scripts/*.service scripts/*.sh scripts/*.socket dist/paperless-ngx/scripts/
|
|
||||||
cp -r src/ dist/paperless-ngx/src
|
echo "Copying basic files"
|
||||||
cp -r docs/_build/html/ dist/paperless-ngx/docs
|
for file_name in .dockerignore \
|
||||||
mv static dist/paperless-ngx
|
.env \
|
||||||
|
Dockerfile \
|
||||||
|
Pipfile \
|
||||||
|
Pipfile.lock \
|
||||||
|
requirements.txt \
|
||||||
|
LICENSE \
|
||||||
|
README.md \
|
||||||
|
paperless.conf.example \
|
||||||
|
gunicorn.conf.py
|
||||||
|
do
|
||||||
|
cp --verbose ${file_name} dist/paperless-ngx/
|
||||||
|
done
|
||||||
|
mv --verbose dist/paperless-ngx/paperless.conf.example paperless.conf
|
||||||
|
|
||||||
|
echo "Copying Docker related files"
|
||||||
|
cp --recursive docker/ dist/paperless-ngx/docker
|
||||||
|
|
||||||
|
echo "Copying startup scripts"
|
||||||
|
cp --verbose scripts/*.service scripts/*.sh scripts/*.socket dist/paperless-ngx/scripts/
|
||||||
|
|
||||||
|
echo "Copying source files"
|
||||||
|
cp --recursive src/ dist/paperless-ngx/src
|
||||||
|
echo "Copying documentation"
|
||||||
|
cp --recursive docs/_build/html/ dist/paperless-ngx/docs
|
||||||
|
|
||||||
|
mv --verbose static dist/paperless-ngx
|
||||||
-
|
-
|
||||||
name: Make release package
|
name: Make release package
|
||||||
run: |
|
run: |
|
||||||
|
echo "Creating release archive"
|
||||||
cd dist
|
cd dist
|
||||||
tar -cJf paperless-ngx.tar.xz paperless-ngx/
|
tar -cJf paperless-ngx.tar.xz paperless-ngx/
|
||||||
-
|
-
|
||||||
|
Loading…
x
Reference in New Issue
Block a user