Build server prototype (integration with GitHub / NuGet / etc)
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.
micro-build-server/BuildServer/lib/tasks/dotnetnugetpush.ts

22 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,
8 years ago
getFinalTask: (nupkg) => ({
name: "pushonly",
task: dotnetnugetpushonly({ Package: nupkg }),
8 years ago
}),
})(processor)) as GenericTask<IDotNetNuGetPushParameters>;