diff --git a/platformio/__init__.py b/platformio/__init__.py index 83054086..ec20ef26 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -1,7 +1,7 @@ # Copyright (C) Ivan Kravets # See LICENSE for details. -VERSION = (2, 0, "0.dev5") +VERSION = (2, 0, "0.dev6") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/commands/ci.py b/platformio/commands/ci.py index 43e56ac7..2218eb76 100644 --- a/platformio/commands/ci.py +++ b/platformio/commands/ci.py @@ -3,7 +3,7 @@ from glob import glob from os import environ, makedirs, remove -from os.path import basename, isdir, isfile, join +from os.path import abspath, basename, isdir, isfile, join from shutil import copyfile, copytree, rmtree from tempfile import mkdtemp @@ -104,6 +104,7 @@ def _copy_contents(dst_dir, contents): } for path in contents: + path = abspath(path) if isdir(path): items['dirs'].add(path) elif isfile(path): @@ -133,6 +134,7 @@ def _exclude_contents(dst_dir, patterns): for p in patterns: contents += glob(join(dst_dir, p)) for path in contents: + path = abspath(path) if isdir(path): rmtree(path) elif isfile(path):