Skip to content

Commit

Permalink
Add one-line deploy.sh script for deploying a new version of Thunderdome
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Scrivner committed Mar 13, 2013
1 parent c6c2adc commit ec97a4f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions MANIFEST.in
@@ -1,5 +1,4 @@
include AUTHORS
include LICENSE
include README.md
recursive-include thunderdome *.py *.groovy

recursive-include thunderdome *.py *.groovy VERSION
2 changes: 2 additions & 0 deletions deploy.sh
@@ -0,0 +1,2 @@
#!/bin/bash
echo $1 > thunderdome/VERSION && git tag -a v$1 && git push --tags && python setup.py sdist upload
3 changes: 2 additions & 1 deletion setup.py
@@ -1,10 +1,11 @@
import sys
from setuptools import setup, find_packages

#next time:
#python setup.py register
#python setup.py sdist upload

version = "0.4.1"
version = open('thunderdome/VERSION', 'r').readline().strip()

long_desc = """
thunderdome is an Object-Graph Mapper (OGM) for Python
Expand Down
1 change: 1 addition & 0 deletions thunderdome/VERSION
@@ -0,0 +1 @@
0.4.2
5 changes: 3 additions & 2 deletions thunderdome/__init__.py
Expand Up @@ -16,12 +16,13 @@
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
import os

from thunderdome.columns import *
from thunderdome.exceptions import *
from thunderdome.models import PaginatedVertex, Vertex, Edge, IN, OUT
from thunderdome.gremlin import BaseGremlinMethod, GremlinMethod, GremlinValue, GremlinTable
from thunderdome.containers import Table


__version__ = '0.4.1'
__thunderdome_version_path__ = os.path.realpath(__file__ + '/../VERSION')
__version__ = open(__thunderdome_version_path__, 'r').readline().strip()

0 comments on commit ec97a4f

Please sign in to comment.