From e5b64c094c1a4ed52cf23df2a4fd8c1cadbd8757 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 9 Oct 2019 14:38:55 +0200 Subject: [PATCH] switch to prod release --- .drone.jsonnet | 31 +++++++++++++++---------------- .drone.yml | 32 ++++++++++++++++---------------- ansibledoctor/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 33 insertions(+), 34 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 623c922..ebee35a 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -114,23 +114,9 @@ local PipelineBuildPackage = { image: "alpine", pull: "always", commands: [ - "cd dist/ && sha256sum * > sha256sum.txt" + "cd dist/ && sha256sum * > ../sha256sum.txt" ], }, - { - name: "publish-pypi", - image: "plugins/pypi", - pull: "always", - settings: { - username: { "from_secret": "pypi_username" }, - password: { "from_secret": "pypi_password" }, - repository: "https://upload.pypi.org/legacy/", - skip_build: true - }, - when: { - ref: [ "refs/tags/**" ], - }, - }, { name: "publish-github", image: "plugins/github-release", @@ -146,7 +132,20 @@ local PipelineBuildPackage = { ref: [ "refs/tags/**" ], }, }, - + { + name: "publish-pypi", + image: "plugins/pypi", + pull: "always", + settings: { + username: { "from_secret": "pypi_username" }, + password: { "from_secret": "pypi_password" }, + repository: "https://upload.pypi.org/legacy/", + skip_build: true + }, + when: { + ref: [ "refs/tags/**" ], + }, + }, ], depends_on: [ "security", diff --git a/.drone.yml b/.drone.yml index ba64569..6ecfdb9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -136,21 +136,7 @@ steps: pull: always image: alpine commands: - - "cd dist/ && sha256sum * > sha256sum.txt" - -- name: publish-pypi - pull: always - image: plugins/pypi - settings: - password: - from_secret: pypi_password - repository: https://upload.pypi.org/legacy/ - skip_build: true - username: - from_secret: pypi_username - when: - ref: - - "refs/tags/**" + - "cd dist/ && sha256sum * > ../sha256sum.txt" - name: publish-github pull: always @@ -168,6 +154,20 @@ steps: ref: - "refs/tags/**" +- name: publish-pypi + pull: always + image: plugins/pypi + settings: + password: + from_secret: pypi_password + repository: https://upload.pypi.org/legacy/ + skip_build: true + username: + from_secret: pypi_username + when: + ref: + - "refs/tags/**" + trigger: ref: - refs/heads/master @@ -423,6 +423,6 @@ depends_on: --- kind: signature -hmac: 87257d5264e6bb90cf0ab66a9c476b496bed6600ba4e9ec6dbdadb2e319904d2 +hmac: 1de34e36b19655755ede9fa231224c029cb6a7acfc773dcd544bf3a758672302 ... diff --git a/ansibledoctor/__init__.py b/ansibledoctor/__init__.py index 0cc47b8..adb77a2 100644 --- a/ansibledoctor/__init__.py +++ b/ansibledoctor/__init__.py @@ -2,7 +2,7 @@ __author__ = "Robert Kaussow" __project__ = "ansible-doctor" -__version__ = "0.1.0-beta2" +__version__ = "0.1.0" __license__ = "GPL-3.0" __maintainer__ = "Robert Kaussow" __email__ = "mail@geeklabor.de" diff --git a/setup.py b/setup.py index 385f8b9..7a0fcb7 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ setup( zip_safe=False, python_requires=">=3.5", classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology",