Skip to content

Commit

Permalink
Fix npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 28, 2024
1 parent 260a367 commit 77cf320
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ _Tag Publish configuration file (.github/publish.yaml)_
- **`repository`** _(object)_: The packages repository where we should publish the packages. Can contain additional properties. Default: `{"github": {"host": "npm.pkg.github.com"}}`.
- **Additional properties** _(object)_
- **`host`** _(string)_: The host of the repository URL.
- **`args`** _(array)_: The arguments to pass to the publish command. Default: `["--provenance"]`.
- **`args`** _(array)_: The arguments to pass to the publish command. Default: `["--provenance", "--access=public"]`.
- **Items** _(string)_
- <a id="definitions/helm"></a>**`helm`** _(object)_: Configuration to publish Helm charts on GitHub release.
- **`packages`** _(array)_: The configuration of packages that will be published.
Expand Down
3 changes: 2 additions & 1 deletion tag_publish/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class HelmPackage(TypedDict, total=False):
"""


NODE_ARGS_DEFAULT = ["--provenance"]
NODE_ARGS_DEFAULT = ["--provenance", "--access=public"]
""" Default value of the field path 'node args' """


Expand Down Expand Up @@ -352,6 +352,7 @@ class Node(TypedDict, total=False):
default:
- --provenance
- --access=public
"""


Expand Down
2 changes: 1 addition & 1 deletion tag_publish/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
"title": "Node args",
"description": "The arguments to pass to the publish command",
"type": "array",
"default": ["--provenance"],
"default": ["--provenance", "--access=public"],
"items": {
"type": "string"
}
Expand Down

0 comments on commit 77cf320

Please sign in to comment.