Skip to content

Commit

Permalink
new attempt at releasing from travis
Browse files Browse the repository at this point in the history
Related to #195

* current dev version suffix should be increasing with time
* upload sdist only as this can be done from a virtualenv safely
  • Loading branch information
mriehl committed Sep 25, 2015
1 parent 9e4a92f commit 5d1d5ce
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ script:
- "./build.py -v -X analyze install"
after_success:
- coveralls --verbose
#before_deploy: "deactivate"
#deploy:
# skip_cleanup: true
# provider: pypi
# user: pybuilder-travis
# password:
# secure: ...
# on:
# branch: master
# repo: pybuilder/pybuilder
deploy:
provider: pypi
user: pybuilder-travis
distributions: "sdist"
on:
branch: master
repo: pybuilder/pybuilder
password:
secure: QH11Nk1Mv6KVRr5L4z9dJfzDDxyUjkLJURWsJxYG0bGA8zxp7Tnfo1J5XDNRvT2bAxXSx0v5+C0y+0KE4z44z5wvE/hxHx9k+3PbETb1q1F1sVtWeA+i4cm7T7d4dh/9YfyfimcHNR/9U52qBpdSVjXqXcSzMzfgzhgFniGGJIU=
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
# limitations under the License.

import sys
import time

sys.path.insert(0, 'src/main/python') # This is only necessary in PyBuilder sources for bootstrap

from pybuilder import bootstrap
from pybuilder.core import Author, init, use_bldsup, use_plugin
from pybuilder.vcs import VCSRevision

bootstrap()

Expand Down Expand Up @@ -74,7 +74,7 @@
]
url = "http://pybuilder.github.io"
license = "Apache License"
version = "0.11.2.dev" + VCSRevision().get_git_revision_count()
version = "0.11.2.dev" + time.strftime("%Y%m%d%H%M%S")

default_task = ["analyze", "publish"]

Expand Down

0 comments on commit 5d1d5ce

Please sign in to comment.