Skip to content

Commit

Permalink
Migrate from Bintray to Artifactory Cloud (#63)
Browse files Browse the repository at this point in the history
* Migrate from Bintray to Artifactory Cloud

* Remove email and use pseudonym

* Correct remote upload path

* Correct call to find mdspan
  • Loading branch information
Twon authored May 1, 2021
1 parent 0e814c1 commit 2acb397
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .conan/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
from cpt.packager import ConanMultiPackager

def username():
return os.getenv("CONAN_USERNAME", "public-conan")
return os.getenv("CONAN_USERNAME", "conan-oss")

def login_username():
return os.getenv("CONAN_LOGIN_USERNAME", "Twonington")
return os.getenv("CONAN_LOGIN_USERNAME", "twonington")

def upload():
return os.getenv("CONAN_UPLOAD", "https://api.bintray.com/conan/twonington/public-conan")
return os.getenv("CONAN_UPLOAD", "https://twonington.jfrog.io/artifactory/api/conan/conan-oss")

def upload_only_when_stable():
return os.getenv("CONAN_UPLOAD_ONLY_WHEN_STABLE", "True").lower() in ["true", "1", "yes"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ To add the *linear_algebra* library to your project as a dependency, you need to

```bash
pip install conan
conan remote add linear_algebra https://api.bintray.com/conan/twonington/public-conan
conan remote add linear_algebra https://twonington.jfrog.io/artifactory/api/conan/conan-oss
```

Once this is set, you can add the linear_algebra dependency to you project via the following signature:

```bash
linear_algebra/0.7.0@public-conan/testing
linear_algebra/0.7.0@conan-oss/testing
```

Available versions of the Linear Algebra package can be search via Conan:
Expand Down
2 changes: 1 addition & 1 deletion cmake/wg21_linear_algebra-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
check_required_components(wg21_linear_algebra)

include(CMakeFindDependencyMacro)
find_dependency(MDSpan REQUIRED)
find_dependency(mdspan REQUIRED)

if(NOT TARGET wg21_linear_algebra::wg21_linear_algebra)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
Expand Down

0 comments on commit 2acb397

Please sign in to comment.