@octopusdeploy/api-client
Advanced tools
Comparing version 2.1.3 to 2.1.4
# Changelog | ||
## [2.1.4](https://github.com/OctopusDeploy/api-client.ts/compare/v2.1.3...v2.1.4) (2023-01-11) | ||
### Bug Fixes | ||
* Added support for setting a Nuspec title, when creating a NuGet package ([#138](https://github.com/OctopusDeploy/api-client.ts/issues/138)) ([1865329](https://github.com/OctopusDeploy/api-client.ts/commit/1865329d9c462e9385f9b3a96e44f409a11653d7)) | ||
* Fixed a bug with the prompted variables structure/serialization ([#140](https://github.com/OctopusDeploy/api-client.ts/issues/140)) ([330049e](https://github.com/OctopusDeploy/api-client.ts/commit/330049ef612be446ae940c4699010516ebc929bc)) | ||
## [2.1.3](https://github.com/OctopusDeploy/api-client.ts/compare/v2.1.2...v2.1.3) (2022-12-19) | ||
@@ -4,0 +12,0 @@ |
import { PackArgs } from "./packArgs"; | ||
type NuSpecArgs = { | ||
export type NuSpecArgs = { | ||
description: string; | ||
authors: string[]; | ||
title?: string; | ||
releaseNotes?: string; | ||
}; | ||
type NuGetPackArgs = { | ||
export type NuGetPackArgs = { | ||
nuspecArgs?: NuSpecArgs; | ||
@@ -13,2 +14,1 @@ } & PackArgs; | ||
} | ||
export {}; |
@@ -67,2 +67,5 @@ "use strict"; | ||
fs_1.default.appendFileSync(nuspecFile, " <authors>".concat(args.nuspecArgs.authors.join(","), "</authors>\n")); | ||
if (args.nuspecArgs.title) { | ||
fs_1.default.appendFileSync(nuspecFile, " <title>".concat(args.nuspecArgs.title, "</title>\n")); | ||
} | ||
if (args.nuspecArgs.releaseNotes) { | ||
@@ -69,0 +72,0 @@ fs_1.default.appendFileSync(nuspecFile, " <releaseNotes>".concat(args.nuspecArgs.releaseNotes, "</releaseNotes>\n")); |
import { PackArgs } from "./packArgs"; | ||
type ZipPackArgs = { | ||
export type ZipPackArgs = { | ||
compressionLevel?: number; | ||
@@ -8,2 +8,1 @@ } & PackArgs; | ||
} | ||
export {}; |
@@ -11,3 +11,6 @@ import { SpaceScopedOperation } from "../.."; | ||
NoRunAfter?: Date | undefined; | ||
Variables?: Map<string, string>; | ||
Variables?: PromptedVariableValues; | ||
} | ||
export interface PromptedVariableValues { | ||
[name: string]: string; | ||
} |
@@ -78,3 +78,3 @@ { | ||
"types": "dist/index.d.ts", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"jest-junit": { | ||
@@ -81,0 +81,0 @@ "outputDirectory": "reports", |
400249
7923