Skip to content

Commit

Permalink
Fix #73: Add translation mo files into release build
Browse files Browse the repository at this point in the history
  • Loading branch information
mingchen committed Nov 20, 2015
1 parent 321dfb7 commit a13750b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include Makefile *.txt
include README.rst
include *.po *.mo
5 changes: 5 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Listed are the high-level, notable changes for each django-cas-ng release.
Backwards incompatible changes or other upgrade issues are also described
here. For additional detail, read the complete `commit history`_.

**django-cas-ng 3.5.3** ``[2015-11-20]``

* Add translation mo files into release build.


**django-cas-ng 3.5.2** ``[2015-11-19]``

* Add python-cas to install_requires.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
# The short X.Y version.
version = '3.5'
# The full version, including alpha/beta/rc tags.
release = '3.5.2'
release = '3.5.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
8 changes: 6 additions & 2 deletions docs/release-howto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ How To Make A Release
git push
git push --tags

6. Upload release to pypi.python.org
6. Build project. This will generate translated language files.

make build

7. Upload release to pypi.python.org

python setup.py sdist upload

7. Create a new release on https://github.com/mingchen/django-cas-ng/releases
8. Create a new release on https://github.com/mingchen/django-cas-ng/releases
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
url='https://github.com/mingchen/django-cas-ng',
#bugtrack_url='https://github.com/mingchen/django-cas-ng/issues', # not support this key
download_url ='https://github.com/mingchen/django-cas-ng/releases',
version='3.5.2',
version='3.5.3',
install_requires=['Django >= 1.5', 'python-cas==1.1.0'],
zip_safe=False, # dot not package as egg or django will not found management commands
)
Expand Down

0 comments on commit a13750b

Please sign in to comment.