Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't add -prerelease to nuspec dependency nodes for project references #1102

Merged
merged 1 commit into from Oct 1, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Paket.Core/PackageMetaData.fs
Expand Up @@ -188,8 +188,8 @@ let findDependencies (dependencies : DependenciesFile) config (template : Templa
if not lockDependencies
then Minimum v
else Specific v
PackageName core.Id, VersionRequirement(versionConstraint, PreReleaseStatus.All)
| none ->failwithf "There was no version given for %s." templateFile.FileName
PackageName core.Id, VersionRequirement(versionConstraint, PreReleaseStatus.No)
| None ->failwithf "There was no version given for %s." templateFile.FileName
| IncompleteTemplate -> failwithf "You cannot create a dependency on a template file (%s) with incomplete metadata." templateFile.FileName)
|> List.fold addDependency templateWithOutput

Expand Down