Skip to content

Commit

Permalink
Fix pack and push issue
Browse files Browse the repository at this point in the history
Change-Id: I6472d9f030adcf2ea2245c1fe409a9d8b7254b66
  • Loading branch information
ngyukman committed Apr 15, 2020
1 parent e35507d commit 7380538
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/groovy/com/ullink/NuGetPack.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class NuGetPack extends BaseNuGet {
return packageVersion ?: spec?.metadata?.version ?: project.version
}

@Input
@Internal
String getIdFromMsbuildTask() {
def isInputProject = { csprojPath.equalsIgnoreCase(it.projectFile) }
def msbuildTask = project.tasks.find {
Expand Down
4 changes: 2 additions & 2 deletions src/main/groovy/com/ullink/NuGetPush.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class NuGetPush extends BaseNuGet {
nupkgFile = project.file(path)
}

void setApiKey(String path) {
apiKey = project.file(path)
void setApiKey(String key) {
apiKey = key
}

void setConfigFile(String path) {
Expand Down

0 comments on commit 7380538

Please sign in to comment.