Skip to content

Commit f15df3e

Browse files
authored
deploy script (crflynn#23)
* add deploy script * fix name for poetry build step * fix history * fix versions listed in docs
1 parent c79a7ea commit f15df3e

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Release History
22
---------------
33

4-
0.4.0 (2018-10-13)
4+
0.4.0 (2019-10-13)
55
~~~~~~~~~~~~~~~~~~
66

77
* Drop support for Python 3.4 (requests is no longer compatible)

deploy.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
export VERSION=$(poetry run python -c "import celery_slack; print(celery_slack.__version__)")
4+
poetry build
5+
poetry run twine upload dist/celery_slack-${VERSION}*
6+
git tag -a ${VERSION} -m "${VERSION}"
7+
git push --tags

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Celery-slack is a python package available on
5858
Compatibility
5959
-------------
6060

61-
Celery-slack is tested against Celery versions 3.1, 4.0, 4.1 and 4.2, across
62-
corresponding compatible versions of Python including 2.7, 3.3, 3.4, 3.5, 3.6.
61+
Celery-slack is tested against Celery versions 3.1, 4.0, 4.1, 4.2, and 4.3 across
62+
corresponding compatible versions of Python including 2.7, 3.5, 3.6, and 3.7.
6363
It may or may not work on other versions of Celery and/or Python.
6464

6565
Documentation

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exclude = '''
2121
'''
2222

2323
[tool.poetry]
24-
name = "celery-slack"
24+
name = "celery_slack"
2525
version = "0.4.0"
2626
description = "A Slack extension for Celery."
2727
authors = ["Christopher Flynn <crf204@gmail.com>"]

0 commit comments

Comments
 (0)