HomePhabricator

[WEBSITE] Avoid null assignment when there is no link to convert in the releaseā€¦

Description

[WEBSITE] Avoid null assignment when there is no link to convert in the release notes

Summary: Due to set -u in the fetch_documentation.sh, the script fails when there is no relative link in the release notes file because REL_LINKS is set to null. Fix it with double quotes so it's set to an empty string/array as expected.

Test Plan:

./scripts/fetch_documentation.sh

Will fail on 0.25.1 before this patch.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D11159

Details

Provenance
FabienAuthored on Mar 11 2022, 14:52
FabienPushed on Mar 11 2022, 14:54
Reviewer
Restricted Project
Differential Revision
D11159: [WEBSITE] Avoid null assignment when there is no link to convert in the release notes
Parents
rABCWEBd53bb374148e: [WEBSITE] Add download links for Electrum ABC releases
Branches
Unknown
Tags
Unknown