Skip to content

Commit

Permalink
Adjusting version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Schpidi committed Nov 15, 2013
1 parent 0c30008 commit 362705a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion ngeo_browse_server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

import re

VERSION = (1, 0, 1, 'final', 0)
VERSION = (1, 0, 2, 'final', 0)

def get_version():
version = '%s.%s' % (VERSION[0], VERSION[1])
Expand Down
26 changes: 15 additions & 11 deletions vagrant/HOWTO
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ vi ngeo_browse_server/__init__.py
vi setup.py
# Adjust Development Status
git commit setup.py ngeo_browse_server/__init__.py -m "Adjusting version."
git push
# Info:
#Development Status :: 1 - Planning
#Development Status :: 2 - Pre-Alpha
Expand All @@ -73,21 +72,26 @@ git push
#Development Status :: 6 - Mature
#Development Status :: 7 - Inactive

git tag -a release-1.0.1 -m "Tagging 1.0.1 release."
git push --tags
git archive --format=tar --prefix=ngeob-1.0.1/ release-1.0.1 | gzip > ngeob-1.0.1.tar.gz
mv ngeob-1.0.1.tar.gz ....
git tag -a release-1.0.2 -m "Tagging 1.0.2 release."
git archive --format=tar --prefix=ngeob-1.0.2/ release-1.0.2 | gzip > ngeob-1.0.2.tar.gz
mv ngeob-1.0.2.tar.gz ....
cd ....

vagrant ssh
tar xzf ngeob-1.0.1.tar.gz
rm ngeob-1.0.1.tar.gz
cd ngeob-1.0.1/
tar xzf ngeob-1.0.2.tar.gz
rm ngeob-1.0.2.tar.gz
cd ngeob-1.0.2/
python setup.py bdist_rpm --release <NO>
cd dist
tar czf ../../ngeob-1.0.1.tar.gz ngEO_Browse_Server-1.0.1*rpm
# scp ../../ngeob-1.0.1.tar.gz -> packages
tar czf ../../ngeob-1.0.2.tar.gz ngEO_Browse_Server-1.0.2*rpm
# scp ../../ngeob-1.0.2.tar.gz -> packages@packages.eox.at:.
cd ../..
rm -r ngeob-1.0.1/
rm -r ngeob-1.0.2/
exit # vagrant

git push
git push --tags


########################################################################
# How to build EOxServer #
Expand Down

0 comments on commit 362705a

Please sign in to comment.