mirror of
https://github.com/xtream1101/humblebundle-downloader.git
synced 2024-11-20 08:49:17 +01:00
New ci flow
This commit is contained in:
parent
e4ace4528c
commit
4c85441f39
@ -3,18 +3,20 @@ image: python:3
|
||||
stages:
|
||||
- test
|
||||
- release
|
||||
- tag
|
||||
- package
|
||||
|
||||
flake8:
|
||||
stage: test
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- pip install tox
|
||||
- tox -e flake8
|
||||
|
||||
release-package:
|
||||
stage: release
|
||||
pypi-package:
|
||||
stage: package
|
||||
only:
|
||||
- master
|
||||
- tags
|
||||
script:
|
||||
- pip install twine
|
||||
- rm -f dist/*
|
||||
@ -28,7 +30,7 @@ release-package:
|
||||
git remote set-url origin "https://gitlab-ci-token:${CI_TAG_UPLOAD_TOKEN}@${url_host}"
|
||||
|
||||
tag:
|
||||
stage: tag
|
||||
stage: release
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
|
@ -1 +1 @@
|
||||
__version__ = '0.0.2'
|
||||
__version__ = '0.0.3'
|
||||
|
@ -20,8 +20,8 @@ def cli():
|
||||
# Generate cookie
|
||||
###
|
||||
parser_gencookie = subparsers.add_parser(
|
||||
'gen-cookie',
|
||||
help="Generate cookie used to access your library",
|
||||
'gen-cookies',
|
||||
help="Generate cookies used to access your library",
|
||||
)
|
||||
parser_gencookie.add_argument(
|
||||
'-c', '--cookie-file', type=str,
|
||||
|
Loading…
Reference in New Issue
Block a user