Skip to content

Commit

Permalink
Default policy is not force
Browse files Browse the repository at this point in the history
  • Loading branch information
lasote committed Oct 17, 2018
1 parent 951236a commit b66c42d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion cpt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = '0.19.6'
__version__ = '0.19.7'
2 changes: 0 additions & 2 deletions cpt/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ def upload_packages(self, reference, upload, package_id):
force=True,
retry=int(self._upload_retry))
elif Version(client_version) < Version("1.9.0"):
from conans.client.cmd.uploader import UPLOAD_POLICY_FORCE
self.conan_api.upload(str(reference),
all_packages=True,
remote_name=remote_name,
policy=UPLOAD_POLICY_FORCE,
retry=int(self._upload_retry))

0 comments on commit b66c42d

Please sign in to comment.