Skip to content

Commit

Permalink
Merge pull request #127 from zowe-actions/feat/branch-level-none
Browse files Browse the repository at this point in the history
Support semver level "none" in branch config
  • Loading branch information
t1m0thyj committed Jan 23, 2024
2 parents 288ff52 + 403a3e0 commit 19709e8
Show file tree
Hide file tree
Showing 19 changed files with 308 additions and 122 deletions.
14 changes: 10 additions & 4 deletions dist/core.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 10 additions & 11 deletions dist/github.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions docs/typedoc/classes/Inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ associated with the "INPUT_DRY-RUN" environment variable.

#### Defined in

[inputs.ts:27](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/inputs.ts#L27)
[inputs.ts:27](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/inputs.ts#L27)

## Accessors

Expand All @@ -56,7 +56,7 @@ Specify whether to detect [ci skip] in last commit message

#### Defined in

[inputs.ts:32](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/inputs.ts#L32)
[inputs.ts:32](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/inputs.ts#L32)

___

Expand All @@ -72,7 +72,7 @@ Custom directory to search for release configuration.

#### Defined in

[inputs.ts:46](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/inputs.ts#L46)
[inputs.ts:46](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/inputs.ts#L46)

___

Expand All @@ -88,7 +88,7 @@ Don't make any changes but report what would have been done.

#### Defined in

[inputs.ts:54](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/inputs.ts#L54)
[inputs.ts:54](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/inputs.ts#L54)

___

Expand All @@ -104,7 +104,7 @@ New version number that should be released.

#### Defined in

[inputs.ts:68](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/inputs.ts#L68)
[inputs.ts:68](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/inputs.ts#L68)

___

Expand All @@ -120,7 +120,7 @@ Comma-separated list of stages that should be skipped.

#### Defined in

[inputs.ts:75](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/inputs.ts#L75)
[inputs.ts:75](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/inputs.ts#L75)

___

Expand All @@ -136,4 +136,4 @@ Custom working directory to use instead of the project root.

#### Defined in

[inputs.ts:83](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/inputs.ts#L83)
[inputs.ts:83](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/inputs.ts#L83)
90 changes: 60 additions & 30 deletions docs/typedoc/classes/Logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,51 +12,63 @@ Class for logging messages to the console.

### Properties

- [pluginName](Logger.md#pluginname)
- [prefix](Logger.md#prefix)
- [pluginPathMap](Logger.md#pluginpathmap)

### Methods

- [addPrefix](Logger.md#addprefix)
- [debug](Logger.md#debug)
- [error](Logger.md#error)
- [getPluginName](Logger.md#getpluginname)
- [info](Logger.md#info)
- [prependPluginName](Logger.md#prependpluginname)
- [warn](Logger.md#warn)

## Constructors

### constructor

**new Logger**(`pluginName?`)
**new Logger**(`prefix?`)

#### Parameters

| Name | Type |
| :------ | :------ |
| `pluginName?` | `string` |
| `prefix?` | `string` |

#### Defined in

[logger.ts:29](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/logger.ts#L29)
[logger.ts:29](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L29)

## Properties

### pluginName
### prefix

`Optional` **pluginName**: `string`
`Private` `Optional` **prefix**: `string`

Plugin name to prepend to log messages.
#### Defined in

[logger.ts:29](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L29)

___

### pluginPathMap

`Static` **pluginPathMap**: `Record`<`string`, `string`\> = `{}`

Mapping of plugin names to their file paths

#### Defined in

[logger.ts:27](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/logger.ts#L27)
[logger.ts:27](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L27)

## Methods

### debug
### addPrefix

**debug**(`message`): `void`
`Private` **addPrefix**(`message`): `string`

Output debug level message with plugin name prepended.
If prefix is defined for this logger, prepend it to message.

#### Parameters

Expand All @@ -66,19 +78,21 @@ Output debug level message with plugin name prepended.

#### Returns

`void`
`string`

Text with prefix prepended

#### Defined in

[logger.ts:37](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/logger.ts#L37)
[logger.ts:68](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L68)

___

### error
### debug

**error**(`message`): `void`
**debug**(`message`): `void`

Output error level message with plugin name prepended.
Output debug level message with plugin name prepended.

#### Parameters

Expand All @@ -92,15 +106,15 @@ Output error level message with plugin name prepended.

#### Defined in

[logger.ts:45](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/logger.ts#L45)
[logger.ts:35](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L35)

___

### info
### error

**info**(`message`): `void`
**error**(`message`): `void`

Output info level message with plugin name prepended.
Output error level message with plugin name prepended.

#### Parameters

Expand All @@ -114,15 +128,33 @@ Output info level message with plugin name prepended.

#### Defined in

[logger.ts:53](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/logger.ts#L53)
[logger.ts:43](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L43)

___

### prependPluginName
### getPluginName

`Private` **prependPluginName**(`message`): `string`
`Private` **getPluginName**(): `undefined` \| `string`

Searches the call stack for file paths associated with a plugin.

#### Returns

If plugin name is defined for this logger, prepend it to message.
`undefined` \| `string`

Name of active plugin if one is found

#### Defined in

[logger.ts:77](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L77)

___

### info

**info**(`message`): `void`

Output info level message with plugin name prepended.

#### Parameters

Expand All @@ -132,13 +164,11 @@ If plugin name is defined for this logger, prepend it to message.

#### Returns

`string`

Text with plugin name prepended
`void`

#### Defined in

[logger.ts:70](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/logger.ts#L70)
[logger.ts:51](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L51)

___

Expand All @@ -160,4 +190,4 @@ Output warning level message with plugin name prepended.

#### Defined in

[logger.ts:61](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/logger.ts#L61)
[logger.ts:59](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/logger.ts#L59)
6 changes: 3 additions & 3 deletions docs/typedoc/interfaces/IConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Array of protected branch configurations

#### Defined in

[doc/IConfig.ts:38](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/doc/IConfig.ts#L38)
[doc/IConfig.ts:38](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/doc/IConfig.ts#L38)

___

Expand All @@ -34,7 +34,7 @@ Array of Octorelease plugin configurations

#### Defined in

[doc/IConfig.ts:43](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/doc/IConfig.ts#L43)
[doc/IConfig.ts:43](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/doc/IConfig.ts#L43)

___

Expand All @@ -46,4 +46,4 @@ Git tag prefix that precedes version number (default is "v")

#### Defined in

[doc/IConfig.ts:48](https://github.com/zowe-actions/octorelease/blob/0333bce/packages/core/src/doc/IConfig.ts#L48)
[doc/IConfig.ts:48](https://github.com/zowe-actions/octorelease/blob/3eb8460/packages/core/src/doc/IConfig.ts#L48)
Loading

0 comments on commit 19709e8

Please sign in to comment.