Skip to content

Commit 4dcc482

Browse files
authored
Merge pull request #12 from dzhuang/v1.3
Bump version number to 1.3
2 parents d8f2145 + 157f228 commit 4dcc482

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

docs/source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@
2525
django.setup()
2626

2727
# -- Project information -----------------------------------------------------
28+
import galleryfield
2829

2930
project = 'django-galleryfield'
3031
copyright = '2021, Dong Zhuang'
3132
author = 'Dong Zhuang'
3233

34+
version = '.'.join(galleryfield.__version__.split('.')[:1])
35+
3336
# The full version, including alpha/beta/rc tags
34-
release = '1.2.7-beta'
37+
release = galleryfield.__version__
3538

3639

3740
# -- General configuration ---------------------------------------------------

galleryfield/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.3'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import find_packages, setup
44

5-
version = '1.2.7'
5+
import galleryfield
66

77

88
def read(fname):
@@ -17,7 +17,7 @@ def read(fname):
1717

1818
setup(
1919
name='django-galleryfield',
20-
version=version,
20+
version=galleryfield.__version__,
2121
description="Django AJAX upload widget and model field for multiple images, featuring drag & drop uploading, upload progress bar, sortable and croppable image gallery",
2222
long_description_content_type="text/x-rst",
2323
long_description=read('README.rst'),

0 commit comments

Comments
 (0)