-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove ssh prefix and update nuget.config
- Loading branch information
1 parent
98daf11
commit 184d78c
Showing
3 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<!--To inherit the global NuGet package sources remove the <clear/> line below --> | ||
<clear /> | ||
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" /> | ||
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> | ||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> | ||
</packageSources> | ||
</configuration> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,21 +45,21 @@ module PackageLocation = | |
then | ||
"https://github.com/" + x.Owner + "/" + x.Project + ".git" | ||
else | ||
"ssh://[email protected]:" + x.Owner + "/" + x.Project + ".git" | ||
"[email protected]:" + x.Owner + "/" + x.Project + ".git" | ||
|
||
let bitBucketUrl (x : AdhocPackageIdentifier) = | ||
if Environment.GetEnvironmentVariable "BUCKAROO_BITBUCKET_SSH" |> isNull | ||
then | ||
"https://bitbucket.org/" + x.Owner + "/" + x.Project + ".git" | ||
else | ||
"ssh://[email protected]:" + x.Owner + "/" + x.Project + ".git" | ||
"[email protected]:" + x.Owner + "/" + x.Project + ".git" | ||
|
||
let gitLabUrl (x : GitLabPackageIdentifier) = | ||
if Environment.GetEnvironmentVariable "BUCKAROO_GITLAB_SSH" |> isNull | ||
then | ||
"https://gitlab.com/" + (x.Groups |> String.concat "/") + "/" + x.Project + ".git" | ||
else | ||
"ssh://[email protected]:" + (x.Groups |> String.concat "/") + "/" + x.Project + ".git" | ||
"[email protected]:" + (x.Groups |> String.concat "/") + "/" + x.Project + ".git" | ||
|
||
let versionSetFromLocation location = | ||
match location with | ||
|