Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Dec 5, 2024
1 parent 7f84316 commit 4176ad1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _Tag Publish configuration file (.github/publish.yaml)_

## Properties

- **`transformers`** _(object)_: The version transform configurations. Cannot contain additional properties. Default: `{"pull_request_to_version_re": [{"to": "pr-\\1"}]}`.
- **`transformers`** _(object)_: The version transform configurations. Cannot contain additional properties. Default: `{"pull_request_to_version": [{"to": "pr-\\1"}]}`.
- **`branch_to_version`**: Refer to _[#/definitions/transform](#definitions/transform)_.
- **`tag_to_version`**: Refer to _[#/definitions/transform](#definitions/transform)_.
- **`pull_request_to_version`**: Refer to _[#/definitions/transform](#definitions/transform)_.
Expand Down
6 changes: 3 additions & 3 deletions tag_publish/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Configuration(TypedDict, total=False):
The version transform configurations.
default:
pull_request_to_version_re:
pull_request_to_version:
- to: pr-\1
"""

Expand Down Expand Up @@ -451,7 +451,7 @@ class PypiPackage(TypedDict, total=False):
""" The command used to do the build """


TRANSFORMERS_DEFAULT = {"pull_request_to_version_re": [{"to": "pr-\\1"}]}
TRANSFORMERS_DEFAULT = {"pull_request_to_version": [{"to": "pr-\\1"}]}
""" Default value of the field path 'Tag publish configuration transformers' """


Expand Down Expand Up @@ -485,7 +485,7 @@ class Transformers(TypedDict, total=False):
The version transform configurations.
default:
pull_request_to_version_re:
pull_request_to_version:
- to: pr-\1
"""

Expand Down
2 changes: 1 addition & 1 deletion tag_publish/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
"description": "The version transform configurations.",
"type": "object",
"default": {
"pull_request_to_version_re": [{ "to": "pr-\\1" }]
"pull_request_to_version": [{ "to": "pr-\\1" }]
},
"additionalProperties": false,
"properties": {
Expand Down

0 comments on commit 4176ad1

Please sign in to comment.