Skip to content

Commit

Permalink
Version 20.0.0b3
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmilano committed Dec 9, 2019
1 parent 2c00be8 commit 3b264a4
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 25 deletions.
25 changes: 13 additions & 12 deletions publish
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ eval $(grep version setup.py | sed 's/,$//')
tag="v$version"
git tag "$tag" || printf 'WARNING: tag "%s" already exists\n' "$tag"
git push --tags
#python2.7 setup.py clean build --executable='/usr/bin/env python2.7' bdist_egg bdist_wheel --universal
python setup.py clean build --executable='/usr/bin/env python' bdist_egg bdist_wheel --universal
# let's use pyenv's twine, installed by pip
twine=~/.pyenv/shims/twine
set -x
version_info=( $($twine --version 2>&1) )
if [[ "${version_info[2]}" < "1.11" ]]
then
printf '%s: ERROR: twine version > 1.11 required\n' "$(basename $0)"
exit 1
fi
$twine upload dist/androidviewclient-${version}-*
printf 'Now Github Actions should follow\n'
##python2.7 setup.py clean build --executable='/usr/bin/env python2.7' bdist_egg bdist_wheel --universal
#python setup.py clean build --executable='/usr/bin/env python' bdist_egg bdist_wheel --universal
## let's use pyenv's twine, installed by pip
#twine=~/.pyenv/shims/twine
#set -x
#version_info=( $($twine --version 2>&1) )
#if [[ "${version_info[2]}" < "1.11" ]]
#then
# printf '%s: ERROR: twine version > 1.11 required\n' "$(basename $0)"
# exit 1
#fi
#$twine upload dist/androidviewclient-${version}-*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

setup(name='androidviewclient',
version='20.0.0b2',
version='20.0.0b3',
description='''AndroidViewClient is a 100% pure python library and tools
that simplifies test script creation providing higher level
operations and the ability of obtaining the tree of Views present at
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/adb/adbclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

from com.dtmilano.android.adb.dumpsys import Dumpsys

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import sys
import warnings
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/adb/dumpsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import sys
from _warnings import warn

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

DEBUG = False

Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from __future__ import print_function

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import ast
import os
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/concertina.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import random

__author__ = 'diego'
__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

DEBUG = True

Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'''
import platform

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import tkinter
import tkinter.ttk
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/culebron.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from com.dtmilano.android.concertina import Concertina
from com.dtmilano.android.viewclient import ViewClient

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import sys
import threading
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

from com.dtmilano.android.adb.dumpsys import Dumpsys

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

DEBUG = True

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@author: Diego Torres Milano
'''

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'
__author__ = 'diego'

import sys
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/uiautomator/uiautomatorhelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from __future__ import print_function

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import json
import os
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/viewclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from culebratester_client import WindowHierarchyChild, WindowHierarchy

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import sys
import warnings
Expand Down
2 changes: 1 addition & 1 deletion tools/culebra
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ from __future__ import print_function

from culebratester_client import WindowHierarchy

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import calendar
import codecs
Expand Down
2 changes: 1 addition & 1 deletion tools/dump
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Created on Feb 3, 2012

from __future__ import print_function

__version__ = '20.0.0b2'
__version__ = '20.0.0b3'

import getopt
import os
Expand Down

0 comments on commit 3b264a4

Please sign in to comment.