Skip to content

Commit 609ed34

Browse files
committed
BNCASB-2204: Initial changes to update the package version
1 parent 1911786 commit 609ed34

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

.circleci/config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ workflows:
55
jobs:
66
- test-python-3-7
77
- test-python-2-7
8+
- bump-version:
9+
filters:
10+
branches:
11+
only: /BNCASB-2204.*/
12+
requires:
13+
- test-python-3-7
14+
- test-python-2-7
815
jobs:
916
test-python-3-7: &test-template
1017
docker:
@@ -24,3 +31,20 @@ jobs:
2431
<<: *test-template
2532
docker:
2633
- image: circleci/python:2.7.16
34+
bump-version:
35+
docker:
36+
- image: circleci/python:3.7.6
37+
steps:
38+
- add_ssh_keys
39+
- checkout
40+
- run:
41+
name: Update version number
42+
command: |
43+
OLD_VER=$(cat VERSION) && NEW_VER=$(echo $OLD_VER + .01 | bc) && echo $NEW_VER > VERSION
44+
echo $OLD_VER
45+
echo $NEW_VER
46+
cat VERSION
47+
- run:
48+
name: Push to GitHub
49+
command: |
50+
echo "pushing to github..."

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.36

setup.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,31 @@
22
from setuptools import setup, find_packages
33

44
here = os.path.abspath(os.path.dirname(__file__))
5+
VERSION = open(os.path.join(here, 'VERSION')).read()
56
README = open(os.path.join(here, 'README.md')).read()
67

78
setup(
8-
name='django-eb-sqs',
9-
version='1.36',
9+
name='django-task-sqs',
10+
version=VERSION,
1011
package_dir={'eb_sqs': 'eb_sqs'},
1112
include_package_data=True,
1213
packages=find_packages(),
1314
description='A simple task manager for AWS SQS',
1415
long_description=README,
16+
long_description_content_type="text/markdown",
1517
url='https://github.com/cuda-networks/django-eb-sqs',
1618
install_requires=[
1719
'boto3>=1.9.86',
1820
'Django>=1.10.6',
1921
'requests>=2.10.0',
22+
],
23+
classifiers=[
24+
'Intended Audience :: Developers',
25+
'Programming Language :: Python :: 3.7',
26+
'Programming Language :: Python :: 2.7',
27+
'Topic :: Software Development',
28+
'License :: OSI Approved :: MIT License',
29+
'Operating System :: OS Independent',
30+
'Framework :: Django'
2031
]
2132
)

0 commit comments

Comments
 (0)