diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..148aa10 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,5 @@ +[bumpversion] +current_version = 1.4.1 +commit = True +tag = True + diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..cd53702 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,26 @@ +image: upress/gitlab-base:23 + +services: + - docker:dind + +variables: + DOCKER_HOST: tcp://localhost:2375 + DOCKER_DRIVER: overlay + +stages: + - 📦 pypi + - flake + +build-push: + stage: 📦 pypi + script: + - python3 setup.py sdist + - twine upload --repository-url https://pkg.ubiquity.press/simple/ -u $PKG_UBIQUITY_USER -p $PKG_UBIQUITY_PW dist/* + only: + - tags + +flake: + stage: flake + script: + - flake8 wikipedia + allow_failure: true diff --git a/wikipedia/__init__.py b/wikipedia/__init__.py index 0a6ee25..c4f4b9c 100644 --- a/wikipedia/__init__.py +++ b/wikipedia/__init__.py @@ -1,4 +1,4 @@ from .wikipedia import * from .exceptions import * -__version__ = (1, 4, 0) +__version__ = (1, 4, 1)