Skip to content

Commit

Permalink
version check update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintin committed Jan 19, 2017
1 parent ec6ac9d commit 3fdd33a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion andle/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import andle.android
import andle.sdk

__version__ = "1.7.0"
__version__ = "1.7.1"


def update(path, dryrun, remote, gradle, interact):
Expand Down
2 changes: 2 additions & 0 deletions andle/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def get_version(dep):
def update_value(name, old, new):
if old == new or new == None:
return
if andle.version.newer(new, old) > 0:
return
print(name + ": " + old + " -> " + new)

if is_interact and input("> ") == "n":
Expand Down

0 comments on commit 3fdd33a

Please sign in to comment.