Skip to content

Commit 9113351

Browse files
authored
remove previous temp rs hack (#953)
* remove previous temp rs hack * update changelog
1 parent d14618f commit 9113351

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Instructions: Add a subsection under `[Unreleased]` for additions, fixes, change
99

1010
## [Unreleased]
1111

12+
### Addded
13+
14+
- New option for `pretext deploy`. If you pass `--no-push` then deploy will commit your output to the `gh-pages` branch but not push. This can be useful for CI/CD workflows or in case deploy encounters an authentication error.
15+
1216
### Changed
1317

1418
- The default devcontainer no longer includes a full LaTeX install. If you run into trouble generating latex-images or building pdfs, see the README.md file for assistance.

pretext/project/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -607,11 +607,6 @@ def build(
607607
xmlid: t.Optional[str] = None,
608608
no_knowls: bool = False,
609609
) -> None:
610-
# Temporary fix for Runestone that runs the CLI as a library in a worker
611-
# remove the variables attr at the start of each build.
612-
if hasattr(core.get_publisher_variable, "variables"):
613-
delattr(core.get_publisher_variable, "variables")
614-
615610
# Add cli.version to stringparams. Use only the major and minor version numbers.
616611
self.stringparams["cli.version"] = VERSION[: VERSION.rfind(".")]
617612

0 commit comments

Comments
 (0)