Skip to content

Commit 580d38a

Browse files
committed
update yaml name and doc
1 parent 4a29394 commit 580d38a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

doc/config-schema.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ This document describes the schema for the librarian.yaml.
8585
| `release_level` | string | ReleaseLevel is the release level, such as "stable" or "preview". This overrides Default.ReleaseLevel. |
8686
| `roots` | list of string | Roots specifies the source roots to use for generation. Defaults to googleapis. |
8787
| `skip_generate` | bool | SkipGenerate disables code generation for this library. |
88-
| `skip_publish` | bool | SkipPublish disables publishing for this library. |
89-
| `skip_release` | bool | SkipRelease disables releasing for this library. |
88+
| `skip_release` | bool | SkipRelease disables release for this library. |
9089
| `specification_format` | string | SpecificationFormat specifies the API specification format. Valid values are "protobuf" (default) or "discovery". |
9190
| `transport` | string | Transport is the transport protocol, such as "grpc+rest" or "grpc". This overrides Default.Transport. |
9291
| `veneer` | bool | Veneer indicates this library has handwritten code. A veneer may contain generated libraries. |
@@ -97,7 +96,7 @@ This document describes the schema for the librarian.yaml.
9796

9897
## API Configuration
9998

100-
[Link to code](../internal/config/config.go#L222)
99+
[Link to code](../internal/config/config.go#L219)
101100
| Field | Type | Description |
102101
| :--- | :--- | :--- |
103102
| `path` | string | Path specifies which googleapis Path to generate from (for generated libraries). |

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ type Library struct {
186186
SkipGenerate bool `yaml:"skip_generate,omitempty"`
187187

188188
// SkipRelease disables release for this library.
189-
SkipRelease bool `yaml:"skip_publish,omitempty"`
189+
SkipRelease bool `yaml:"skip_release,omitempty"`
190190

191191
// SpecificationFormat specifies the API specification format. Valid values
192192
// are "protobuf" (default) or "discovery".

0 commit comments

Comments
 (0)