Page MenuHomePhabricator

[WEBSITE] Fix fetching the latest release notes
ClosedPublic

Authored by Fabien on Feb 23 2021, 20:58.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABCWEB4498213f4139: [WEBSITE] Fix fetching the latest release notes
Summary

The fetch_documentation.sh script will make sure to link the latest
release notes file if it was not archived yet. But there is a bug in the
linked version number, as it links with the oldest version number
instead of the most recent one. This causes the website deployment to
fail finding the latest release notes, and prevent from displaying the
last one until the release notes gets archived.
This diff fixes the issue by using the correct index for getting the
latest version number from the list of available versions.

Test Plan
./scripts/fetch_documentation.sh
bundle exec jekyll serve

Check the latest version is 0.22.14.

Diff Detail

Repository
rABCWEB Bitcoin ABC Website
Lint
Lint Not Applicable
Unit
Tests Not Applicable