| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 638bf7a commit 613576d
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,3 +34,4 @@ doc/aws_hostname.1 | |||
| 34 | 34 | .vscode | |
| 35 | 35 | .atom | |
| 36 | 36 | ||
| 37 | + README | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ CYAN="\033[0;36m" # cyan | |||
| 22 | 22 | pip install wheel > /dev/null | |
| 23 | 23 | ||
| 24 | 24 | command -v gitchangelog >/dev/null 2>&1 || { | |
| 25 | - echo -e "${RED}WARNING: Missing gitchangelog binary, please run: pip install gitchangelog==2.2.0${COLOR_OFF}\n" | ||
| 25 | + echo -e "${RED}WARNING: Missing gitchangelog binary, please run: pip install gitchangelog==3.0.4${COLOR_OFF}\n" | ||
| 26 | 26 | exit 1 | |
| 27 | 27 | } | |
| 28 | 28 | ||
@@ -31,6 +31,11 @@ command -v rst-lint > /dev/null || { | |||
| 31 | 31 | exit 1 | |
| 32 | 32 | } | |
| 33 | 33 | ||
| 34 | + command -v twine > /dev/null || { | ||
| 35 | + echo -e "${RED}WARNING: Missing twine binary, please run: pip install twine==3.2.0${COLOR_OFF}\n" | ||
| 36 | + exit 1 | ||
| 37 | + } | ||
| 38 | + | ||
| 34 | 39 | if [[ "$@" != "major" ]] && [[ "$@" != "minor" ]] && [[ "$@" != "patch" ]]; then | |
| 35 | 40 | echo -e "${RED}WARNING: Invalid release type, must specify 'major', 'minor', or 'patch'${COLOR_OFF}\n" | |
| 36 | 41 | exit 1 | |
@@ -125,7 +130,8 @@ git push -q origin master && git push -q --tags | |||
| 125 | 130 | if [[ "$PUBLIC" == "true" ]]; then | |
| 126 | 131 | echo -e "${YELLOW}--->${COLOR_OFF} Creating python release" | |
| 127 | 132 | cp README.rst README | |
| 128 | - python setup.py sdist bdist_wheel upload > /dev/null | ||
| 133 | + python setup.py sdist bdist_wheel > /dev/null | ||
| 134 | + twine upload dist/* | ||
| 129 | 135 | rm README | |
| 130 | 136 | fi | |
| 131 | 137 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ def open_file(fname): | |||
| 18 | 18 | packages=['github_backup'], | |
| 19 | 19 | scripts=['bin/github-backup'], | |
| 20 | 20 | url='http://github.com/josegonzalez/python-github-backup', | |
| 21 | - license=open('LICENSE.txt').read(), | ||
| 21 | + license='MIT', | ||
| 22 | 22 | classifiers=[ | |
| 23 | 23 | 'Development Status :: 5 - Production/Stable', | |
| 24 | 24 | 'Topic :: System :: Archiving :: Backup', | |
@@ -30,6 +30,7 @@ def open_file(fname): | |||
| 30 | 30 | ], | |
| 31 | 31 | description='backup a github user or organization', | |
| 32 | 32 | long_description=open_file('README.rst').read(), | |
| 33 | + long_description_content_type='text/x-rst', | ||
| 33 | 34 | install_requires=open_file('requirements.txt').readlines(), | |
| 34 | 35 | zip_safe=True, | |
| 35 | 36 | ) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments