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

14 lines
446 B

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