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

NuGetSources task #58

Merged
merged 18 commits into from
Jan 5, 2018
Merged

NuGetSources task #58

merged 18 commits into from
Jan 5, 2018

Conversation

darsen
Copy link
Contributor

@darsen darsen commented Dec 30, 2017

Added task for nuget sources command.

@@ -27,6 +27,11 @@ class NuGetPlugin implements Plugin<Project> {
group = BasePlugin.UPLOAD_GROUP
description = 'Pushes the NuGet package to the configured server url.'
}

project.task('nugetSources', type: NuGetSources) {
group = BasePlugin.UPLOAD_GROUP
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably this operation shouldn't be part of the upload group, you can probably remove the group entirely if there's no fitting/existing one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I have removed the group.

if (sourceName) args '-Name', sourceName
if (sourceUrl) args '-Source', sourceUrl
if (username) args '-UserName', name
if (password) args '-Passsword', name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sorry about that. Should be OK now.

args operation
if (sourceName) args '-Name', sourceName
if (sourceUrl) args '-Source', sourceUrl
if (username) args '-UserName', name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be username ?

if (sourceName) args '-Name', sourceName
if (sourceUrl) args '-Source', sourceUrl
if (username) args '-UserName', name
if (password) args '-Passsword', password
Copy link
Contributor

@gluck gluck Jan 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo still (-Passs vs -Pass)

if (username) args '-UserName', name
if (password) args '-Passsword', password
if (configFile) args '-ConfigFile', configFile
if (storePaswordInClearText) args '-StorePaswordInClearText'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo as well (pas vs pass)

@darsen
Copy link
Contributor Author

darsen commented Jan 5, 2018

Sorry about that. Typos fixed.

if (sourceName) args '-Name', sourceName
if (sourceUrl) args '-Source', sourceUrl
if (username) args '-UserName', username
if (password) args '-Passsword', password
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still the '-Passs' typo here, no ?

@darsen
Copy link
Contributor Author

darsen commented Jan 5, 2018

Yes, I have fixed that one now, thank you.

@gluck gluck merged commit 1fa864a into Itiviti:master Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants