Skip to content

Commit

Permalink
NXDRIVE-1032: Bypass PyPi upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG authored Nov 8, 2017
1 parent 405485c commit 61428fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
7 changes: 7 additions & 0 deletions docs/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Release date: `2017-??-??`


# 2.5.9
Release date: `2017-11-08`

### Packaging / Build
- [NXDRIVE-1032](https://jira.nuxeo.com/browse/NXDRIVE-1032): Bypass PyPI upload


# 2.5.8
Release date: `2017-11-08`

Expand Down
2 changes: 1 addition & 1 deletion nuxeo-drive-client/nxdrive/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"""

__author__ = 'Nuxeo'
__version__ = '2.5.8'
__version__ = '2.5.9'
12 changes: 2 additions & 10 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,9 @@ publish_beta() {
}

publish_on_pip() {
local cur_version
local drive_version
local version_ok

version_ok="$(python -c "import sys; print(sys.version_info > (2, 7, 12))")"
if [ "${version_ok}" = "False" ]; then
cur_version=$(python --version 2>&1 | awk '{print $2}')
echo ">>> Python 2.7.13 or newer is required."
echo ">>> Current version is ${cur_version}"
return 0
fi

return 0

drive_version="$(python tools/changelog.py --drive-version)"
echo ">>> [beta ${drive_version}] Creating the virtualenv"
Expand Down

0 comments on commit 61428fb

Please sign in to comment.