Skip to content

Commit 4bdb37c

Browse files
authored
Merge pull request #317 from rstudio/bcwu-deploy_html-exclude
add exclude as kwarg
2 parents 870a3c6 + c3e6c8a commit 4bdb37c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Changed
1010

11-
Update pip_freeze to use `pip freeze` since Connect filters for valid package paths in the backend and it no longer depends on the undocumented behavior of `pip list --format=freeze`. This reverts the change made in 1.5.2.
11+
- Update pip_freeze to use `pip freeze` since Connect filters for valid package paths in the backend and it no longer depends on the undocumented behavior of `pip list --format=freeze`. This reverts the change made in 1.5.2.
12+
13+
- Renamed the deploy_html `excludes` flag to `exclude` for consistency with other deploy commands.
1214

1315
## [1.12.1] - 2022-11-07
1416

rsconnect/main.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,6 @@ def deploy_quarto(
10411041
)
10421042
@click.option(
10431043
"--exclude",
1044-
"--excludes",
10451044
"-x",
10461045
multiple=True,
10471046
help=(
@@ -1062,7 +1061,7 @@ def deploy_html(
10621061
path: str = None,
10631062
entrypoint: str = None,
10641063
extra_files=None,
1065-
excludes=None,
1064+
exclude=None,
10661065
title: str = None,
10671066
env_vars: typing.Dict[str, str] = None,
10681067
verbose: bool = False,
@@ -1090,7 +1089,7 @@ def deploy_html(
10901089
path,
10911090
entrypoint,
10921091
extra_files,
1093-
excludes,
1092+
exclude,
10941093
)
10951094
.deploy_bundle()
10961095
.save_deployed_info()

0 commit comments

Comments
 (0)