mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 19:39:43 +00:00
Compare commits
3 commits
4db11b91b7
...
9f1d6ff37c
| Author | SHA1 | Date | |
|---|---|---|---|
| 9f1d6ff37c | |||
| e524dded04 | |||
| c2f19d2960 |
3 changed files with 27 additions and 4 deletions
19
.drone.yml
19
.drone.yml
|
|
@ -92,11 +92,26 @@ steps:
|
|||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: shouptech/humulus
|
||||
tags:
|
||||
- ${DRONE_TAG}
|
||||
auto_tag: true
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
- name: pypi-release
|
||||
image: python:3.6
|
||||
environment:
|
||||
TWINE_USERNAME:
|
||||
from_secret: TWINE_USERNAME
|
||||
TWINE_PASSWORD:
|
||||
from_secret: TWINE_PASSWORD
|
||||
commands:
|
||||
- pip install twine
|
||||
- python setup.py sdist bdist_wheel
|
||||
- twine upload dist/*
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
|
|
|||
10
setup.py
10
setup.py
|
|
@ -50,5 +50,13 @@ setup(
|
|||
install_requires=install_requires,
|
||||
setup_requires=install_requires + ["pytest-runner"],
|
||||
tests_require=["pytest"],
|
||||
classifiers=[],
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Flask",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
|
|
@ -14,4 +14,4 @@
|
|||
|
||||
# The 'dev' portion of this variable will get updated during Drone CI builds
|
||||
# with a build number for all non-tagged builds.
|
||||
__version__ = "0.0.1.dev"
|
||||
__version__ = "0.1.dev"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue