From 091025a3e13e9210ca1b0d2b3dc44bbf50b7e821 Mon Sep 17 00:00:00 2001 From: rowan08 Date: Mon, 8 Apr 2019 15:29:00 +0100 Subject: [PATCH] gitlab config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bump version: 1.4.0 → 1.4.1 --- .bumpversion.cfg | 5 +++++ .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ wikipedia/__init__.py | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .bumpversion.cfg create mode 100644 .gitlab-ci.yml 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)