Skip to content

Commit 2c0c1e3

Browse files
committed
fixup! fixup! Rewrite RTD configuration to use build.jobs rather than build.commands
1 parent a2bdb3b commit 2c0c1e3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.readthedocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ build:
2020
# directory or RTD configuration, or if we can't cleanly merge the base
2121
# branch.
2222
- |
23+
set -e;
2324
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ];
2425
then
2526
base_branch=main;
2627
git fetch --depth=1 origin $base_branch;
27-
if !git merge --no-edit origin/$base_branch;
28+
if ! git merge --no-edit origin/$base_branch;
2829
then
2930
echo "Unsuccessful merge with '$base_branch' branch, skipping the build";
3031
exit 183;

0 commit comments

Comments
 (0)