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/dotnetnugetpushonly.ts

13 lines
446 B

"use strict";
import { join } from "path";
import { GenericTask } from "../types";
import dotnetbuilderwrapper from "./dotnetbuilderwrapper";
export default ((params, processor) => dotnetbuilderwrapper({
ApiKey: processor.settings.nugetApiKey,
NugetHost: processor.settings.nugetHost,
Package: join(processor.context.exported, params.Package),
command: "nugetpush",
}, processor)) as GenericTask<{ readonly Package: string }>;