You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
650 B
21 lines
650 B
"use strict";
|
|
|
|
import { GenericTask } from "../types";
|
|
import dotnetnugetprocessinternal from "./dotnetnugetprocessinternal";
|
|
import dotnetnugetpushonly from "./dotnetnugetpushonly";
|
|
|
|
interface IDotNetNuGetPushParameters {
|
|
readonly withoutCommitSha?: boolean;
|
|
readonly major?: string;
|
|
readonly version?: string;
|
|
readonly name: string;
|
|
readonly nuspec: string;
|
|
}
|
|
|
|
export default ((params) => (processor) => dotnetnugetprocessinternal({
|
|
...params,
|
|
getFinalTask: (nupkg) => ({
|
|
name: "pushonly",
|
|
task: dotnetnugetpushonly({ Package: nupkg }),
|
|
}),
|
|
})(processor)) as GenericTask<IDotNetNuGetPushParameters>;
|
|
|