forked from CGM_Public/pretix_original
Update .gitlab-ci.yml release script
This commit is contained in:
@@ -22,13 +22,14 @@ pypi:
|
|||||||
- source env/bin/activate
|
- source env/bin/activate
|
||||||
- pip install -U pip wheel setuptools check-manifest twine
|
- pip install -U pip wheel setuptools check-manifest twine
|
||||||
- XDG_CACHE_HOME=/cache pip3 install -e ".[dev]"
|
- XDG_CACHE_HOME=/cache pip3 install -e ".[dev]"
|
||||||
- cd src
|
|
||||||
- python setup.py sdist
|
- python setup.py sdist
|
||||||
- pip install dist/pretix-*.tar.gz
|
- pip install dist/pretix-*.tar.gz
|
||||||
- python -m pretix migrate
|
- python -m pretix migrate
|
||||||
- python -m pretix check
|
- python -m pretix check
|
||||||
- check-manifest
|
- cd src
|
||||||
- make npminstall
|
- make npminstall
|
||||||
|
- cd ..
|
||||||
|
- check-manifest
|
||||||
- python setup.py sdist bdist_wheel
|
- python setup.py sdist bdist_wheel
|
||||||
- twine check dist/*
|
- twine check dist/*
|
||||||
- twine upload dist/*
|
- twine upload dist/*
|
||||||
|
|||||||
14
MANIFEST.in
14
MANIFEST.in
@@ -1,5 +1,6 @@
|
|||||||
include LICENSE
|
include LICENSE
|
||||||
include README.rst
|
include README.rst
|
||||||
|
include src/Makefile
|
||||||
global-include *.proto
|
global-include *.proto
|
||||||
recursive-include src/pretix/static *
|
recursive-include src/pretix/static *
|
||||||
recursive-include src/pretix/static.dist *
|
recursive-include src/pretix/static.dist *
|
||||||
@@ -31,3 +32,16 @@ recursive-include src/pretix/plugins/returnurl/templates *
|
|||||||
recursive-include src/pretix/plugins/returnurl/static *
|
recursive-include src/pretix/plugins/returnurl/static *
|
||||||
recursive-include src/pretix/plugins/webcheckin/templates *
|
recursive-include src/pretix/plugins/webcheckin/templates *
|
||||||
recursive-include src/pretix/plugins/webcheckin/static *
|
recursive-include src/pretix/plugins/webcheckin/static *
|
||||||
|
recursive-include src *.cfg
|
||||||
|
recursive-include src *.csv
|
||||||
|
recursive-include src *.gitkeep
|
||||||
|
recursive-include src *.jpg
|
||||||
|
recursive-include src *.json
|
||||||
|
recursive-include src *.py
|
||||||
|
recursive-include src *.svg
|
||||||
|
recursive-include src *.txt
|
||||||
|
recursive-include src Makefile
|
||||||
|
|
||||||
|
recursive-exclude doc *
|
||||||
|
recursive-exclude deployment *
|
||||||
|
recursive-exclude res *
|
||||||
|
|||||||
40
setup.cfg
Normal file
40
setup.cfg
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
[check-manifest]
|
||||||
|
ignore =
|
||||||
|
env/**
|
||||||
|
doc/*
|
||||||
|
deployment/*
|
||||||
|
res/*
|
||||||
|
src/.update-locales
|
||||||
|
src/Makefile
|
||||||
|
src/manage.py
|
||||||
|
src/pretix/icons/*
|
||||||
|
src/pretix/static.dist/**
|
||||||
|
src/pretix/static/jsi18n/**
|
||||||
|
src/requirements.txt
|
||||||
|
src/requirements/*
|
||||||
|
src/tests/*
|
||||||
|
src/tests/api/*
|
||||||
|
src/tests/base/*
|
||||||
|
src/tests/control/*
|
||||||
|
src/tests/testdummy/*
|
||||||
|
src/tests/templates/*
|
||||||
|
src/tests/presale/*
|
||||||
|
src/tests/doc/*
|
||||||
|
src/tests/helpers/*
|
||||||
|
src/tests/media/*
|
||||||
|
src/tests/multidomain/*
|
||||||
|
src/tests/plugins/*
|
||||||
|
src/tests/plugins/badges/*
|
||||||
|
src/tests/plugins/banktransfer/*
|
||||||
|
src/tests/plugins/paypal/*
|
||||||
|
src/tests/plugins/paypal2/*
|
||||||
|
src/tests/plugins/pretixdroid/*
|
||||||
|
src/tests/plugins/stripe/*
|
||||||
|
src/tests/plugins/sendmail/*
|
||||||
|
src/tests/plugins/ticketoutputpdf/*
|
||||||
|
.*
|
||||||
|
CODE_OF_CONDUCT.md
|
||||||
|
CONTRIBUTING.md
|
||||||
|
Dockerfile
|
||||||
|
SECURITY.md
|
||||||
|
|
||||||
@@ -93,34 +93,3 @@ phrases =
|
|||||||
Stripe Connect
|
Stripe Connect
|
||||||
chunkers = enchant.tokenize.HTMLChunker
|
chunkers = enchant.tokenize.HTMLChunker
|
||||||
filters = PythonFormatFilter,enchant.tokenize.URLFilter,HTMLFilter
|
filters = PythonFormatFilter,enchant.tokenize.URLFilter,HTMLFilter
|
||||||
|
|
||||||
[check-manifest]
|
|
||||||
ignore =
|
|
||||||
.update-locales
|
|
||||||
Makefile
|
|
||||||
manage.py
|
|
||||||
pretix/icons/*
|
|
||||||
pretix/static.dist/**
|
|
||||||
pretix/static/jsi18n/**
|
|
||||||
requirements.txt
|
|
||||||
requirements/*
|
|
||||||
tests/*
|
|
||||||
tests/api/*
|
|
||||||
tests/base/*
|
|
||||||
tests/control/*
|
|
||||||
tests/testdummy/*
|
|
||||||
tests/templates/*
|
|
||||||
tests/presale/*
|
|
||||||
tests/doc/*
|
|
||||||
tests/helpers/*
|
|
||||||
tests/media/*
|
|
||||||
tests/multidomain/*
|
|
||||||
tests/plugins/*
|
|
||||||
tests/plugins/badges/*
|
|
||||||
tests/plugins/banktransfer/*
|
|
||||||
tests/plugins/paypal/*
|
|
||||||
tests/plugins/paypal2/*
|
|
||||||
tests/plugins/pretixdroid/*
|
|
||||||
tests/plugins/stripe/*
|
|
||||||
tests/plugins/sendmail/*
|
|
||||||
tests/plugins/ticketoutputpdf/*
|
|
||||||
|
|||||||
Reference in New Issue
Block a user