mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-19 03:30:39 +00:00
switch to prod release
This commit is contained in:
parent
5ecf9cab92
commit
e5b64c094c
@ -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",
|
||||
|
32
.drone.yml
32
.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
|
||||
|
||||
...
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user