chore(release): v2.1.1

releases/v3 v2.1.1
Conventional Changelog Action 2020-04-29 08:09:23 +00:00
parent 5c2e451405
commit 2036869217
10 changed files with 50 additions and 45 deletions

View File

@ -1,3 +1,15 @@
## [2.1.1](https://github.com/TriPSs/conventional-changelog-action/compare/v2.1.0...v2.1.1) (2020-04-29)
### Bug Fixes
* Fixed git being called incorrectly ([6bfb377](https://github.com/TriPSs/conventional-changelog-action/commit/6bfb377c32c27e881a77139109c1d40afed12415))
* Fixed tagPrefix being provided as context instead of option ([e66c42b](https://github.com/TriPSs/conventional-changelog-action/commit/e66c42b7603eadc663e120f1355b7da328301ece))
* Fixed tagPrefix not being provided to bumper ([5b65653](https://github.com/TriPSs/conventional-changelog-action/commit/5b65653fe8cedf1219e523bf44ee0a7453dcc8d2))
* Pull full history so it works with checkout@v2 ([50ab4fa](https://github.com/TriPSs/conventional-changelog-action/commit/50ab4fa80a641d1a198fb5fe17536a5db6a39a3a))
# [2.1.0](https://github.com/TriPSs/conventional-changelog-action/compare/v2.0.1...v2.1.0) (2020-04-28) # [2.1.0](https://github.com/TriPSs/conventional-changelog-action/compare/v2.0.1...v2.1.0) (2020-04-28)
@ -34,33 +46,3 @@
# [1.2.0](https://github.com/TriPSs/conventional-changelog-action/compare/v0.0.1...v1.2.0) (2019-10-18)
### Bug Fixes
* Fixed that fs was undefined ([f330c69](https://github.com/TriPSs/conventional-changelog-action/commit/f330c69c10a12faa1919e691a71fbdda3b3ba238))
* Fixes ([f467ea7](https://github.com/TriPSs/conventional-changelog-action/commit/f467ea783254be918b70be58fa1aca0ab0c9ac80))
* Test release ([7fe9b66](https://github.com/TriPSs/conventional-changelog-action/commit/7fe9b661515076d5b01caf208e48d85e63c060a5))
* Test release ([fd60d38](https://github.com/TriPSs/conventional-changelog-action/commit/fd60d3839eb39542e4bc8c56a3a33aa41f25247a))
* Test release ([7365edf](https://github.com/TriPSs/conventional-changelog-action/commit/7365edf6f58d23baf8383668f83170dcb46bf5e6))
* Test release ([d0cd7bf](https://github.com/TriPSs/conventional-changelog-action/commit/d0cd7bf31f1a8e24ef4d44422d3fb9a4c694c89a))
* Test release ([37217f5](https://github.com/TriPSs/conventional-changelog-action/commit/37217f530cbbb866612b86d6c8a27d068d16e652))
* Test release ([1f63990](https://github.com/TriPSs/conventional-changelog-action/commit/1f63990fabc8bbf5d7cf9b234a4eb75c350518c3))
* Test release ([57d7d45](https://github.com/TriPSs/conventional-changelog-action/commit/57d7d4594f47d66d8de3eb1b7f4207130a7697ac))
* Test release ([c8e9ea6](https://github.com/TriPSs/conventional-changelog-action/commit/c8e9ea6338b809f0b2fb3b4e0ce037d7b26d7325))
* Test release ([a85634b](https://github.com/TriPSs/conventional-changelog-action/commit/a85634b8c7dc152dc1cf027ba5a91df6634f9ef2))
* Test release ([234446d](https://github.com/TriPSs/conventional-changelog-action/commit/234446dc90c9969a41a3bd97841e47adf81b50ee))
* Test release ([ab2ea09](https://github.com/TriPSs/conventional-changelog-action/commit/ab2ea0974adb27fd4e2bb45fd21e51b2c8181c27))
* Test release ([7cbbde6](https://github.com/TriPSs/conventional-changelog-action/commit/7cbbde6d9f2fc92e95b50eb8474ed08437ffe6f3))
* Test release ([9d10bb2](https://github.com/TriPSs/conventional-changelog-action/commit/9d10bb22adb57a2b4953272c7a938af9ab4f301b))
### Features
* Test release ([c471392](https://github.com/TriPSs/conventional-changelog-action/commit/c47139231d3289a08ee39c0b1978b9e935d456a5))
* Test release ([d71558c](https://github.com/TriPSs/conventional-changelog-action/commit/d71558cec69d773fb6846734b57ff55a6d7b3648))
* Test release ([5945aae](https://github.com/TriPSs/conventional-changelog-action/commit/5945aaed8f5e59d227742dd35670381cf444aa93))

4
node_modules/.yarn-integrity generated vendored
View File

@ -9,13 +9,13 @@
"linkedModules": [], "linkedModules": [],
"topLevelPatterns": [ "topLevelPatterns": [
"@actions/core@1.2.3", "@actions/core@1.2.3",
"@actions/exec@1.0.3", "@actions/exec@1.0.4",
"conventional-changelog@3.1.18", "conventional-changelog@3.1.18",
"conventional-recommended-bump@6.0.5" "conventional-recommended-bump@6.0.5"
], ],
"lockfileEntries": { "lockfileEntries": {
"@actions/core@1.2.3": "https://registry.yarnpkg.com/@actions/core/-/core-1.2.3.tgz#e844b4fa0820e206075445079130868f95bfca95", "@actions/core@1.2.3": "https://registry.yarnpkg.com/@actions/core/-/core-1.2.3.tgz#e844b4fa0820e206075445079130868f95bfca95",
"@actions/exec@1.0.3": "https://registry.yarnpkg.com/@actions/exec/-/exec-1.0.3.tgz#b967f8700d6ff011dcc91243b58bafc1bb9ab95f", "@actions/exec@1.0.4": "https://registry.yarnpkg.com/@actions/exec/-/exec-1.0.4.tgz#99d75310e62e59fc37d2ee6dcff6d4bffadd3a5d",
"@actions/io@^1.0.1": "https://registry.yarnpkg.com/@actions/io/-/io-1.0.2.tgz#2f614b6e69ce14d191180451eb38e6576a6e6b27", "@actions/io@^1.0.1": "https://registry.yarnpkg.com/@actions/io/-/io-1.0.2.tgz#2f614b6e69ce14d191180451eb38e6576a6e6b27",
"JSONStream@^1.0.4": "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0", "JSONStream@^1.0.4": "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0",
"add-stream@^1.0.0": "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa", "add-stream@^1.0.0": "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa",

View File

@ -1,4 +1,5 @@
import * as im from './interfaces'; import { ExecOptions } from './interfaces';
export { ExecOptions };
/** /**
* Exec a command. * Exec a command.
* Output will be streamed to the live console. * Output will be streamed to the live console.
@ -9,4 +10,4 @@ import * as im from './interfaces';
* @param options optional exec options. See ExecOptions * @param options optional exec options. See ExecOptions
* @returns Promise<number> exit code * @returns Promise<number> exit code
*/ */
export declare function exec(commandLine: string, args?: string[], options?: im.ExecOptions): Promise<number>; export declare function exec(commandLine: string, args?: string[], options?: ExecOptions): Promise<number>;

View File

@ -8,8 +8,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
step((generator = generator.apply(thisArg, _arguments || [])).next()); step((generator = generator.apply(thisArg, _arguments || [])).next());
}); });
}; };
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const tr = require("./toolrunner"); const tr = __importStar(require("./toolrunner"));
/** /**
* Exec a command. * Exec a command.
* Output will be streamed to the live console. * Output will be streamed to the live console.

View File

@ -1 +1 @@
{"version":3,"file":"exec.js","sourceRoot":"","sources":["../src/exec.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,mCAAkC;AAElC;;;;;;;;;GASG;AACH,SAAsB,IAAI,CACxB,WAAmB,EACnB,IAAe,EACf,OAAwB;;QAExB,MAAM,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAA;QACpD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAA;SACpE;QACD,8CAA8C;QAC9C,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,CAAA;QAC/B,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAA;QAC9C,MAAM,MAAM,GAAkB,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QACxE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAA;IACtB,CAAC;CAAA;AAdD,oBAcC"} {"version":3,"file":"exec.js","sourceRoot":"","sources":["../src/exec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,iDAAkC;AAIlC;;;;;;;;;GASG;AACH,SAAsB,IAAI,CACxB,WAAmB,EACnB,IAAe,EACf,OAAqB;;QAErB,MAAM,WAAW,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAA;QACpD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAA;SACpE;QACD,8CAA8C;QAC9C,MAAM,QAAQ,GAAG,WAAW,CAAC,CAAC,CAAC,CAAA;QAC/B,IAAI,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,CAAA;QAC9C,MAAM,MAAM,GAAkB,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC,CAAA;QACxE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAA;IACtB,CAAC;CAAA;AAdD,oBAcC"}

View File

@ -24,6 +24,8 @@ export interface ExecOptions {
ignoreReturnCode?: boolean; ignoreReturnCode?: boolean;
/** optional. How long in ms to wait for STDIO streams to close after the exit event of the process before terminating. defaults to 10000 */ /** optional. How long in ms to wait for STDIO streams to close after the exit event of the process before terminating. defaults to 10000 */
delay?: number; delay?: number;
/** optional. input to write to the process on STDIN. */
input?: Buffer;
/** optional. Listeners for output. Callback functions that will be called on these events */ /** optional. Listeners for output. Callback functions that will be called on these events */
listeners?: { listeners?: {
stdout?: (data: Buffer) => void; stdout?: (data: Buffer) => void;

View File

@ -8,13 +8,20 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
step((generator = generator.apply(thisArg, _arguments || [])).next()); step((generator = generator.apply(thisArg, _arguments || [])).next());
}); });
}; };
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
const os = require("os"); const os = __importStar(require("os"));
const events = require("events"); const events = __importStar(require("events"));
const child = require("child_process"); const child = __importStar(require("child_process"));
const path = require("path"); const path = __importStar(require("path"));
const io = require("@actions/io"); const io = __importStar(require("@actions/io"));
const ioUtil = require("@actions/io/lib/io-util"); const ioUtil = __importStar(require("@actions/io/lib/io-util"));
/* eslint-disable @typescript-eslint/unbound-method */ /* eslint-disable @typescript-eslint/unbound-method */
const IS_WINDOWS = process.platform === 'win32'; const IS_WINDOWS = process.platform === 'win32';
/* /*
@ -458,6 +465,12 @@ class ToolRunner extends events.EventEmitter {
resolve(exitCode); resolve(exitCode);
} }
}); });
if (this.options.input) {
if (!cp.stdin) {
throw new Error('child process missing stdin');
}
cp.stdin.end(this.options.input);
}
}); });
}); });
} }

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "@actions/exec", "name": "@actions/exec",
"version": "1.0.3", "version": "1.0.4",
"description": "Actions exec lib", "description": "Actions exec lib",
"keywords": [ "keywords": [
"github", "github",

View File

@ -1,6 +1,6 @@
{ {
"name": "conventional-changelog-action", "name": "conventional-changelog-action",
"version": "2.1.0", "version": "2.1.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {