In order to specify which releases should be featured on the website, edit the content/download/selected.json
file. This file has a list of all featured releases and pre-releases indicated by the tagName
of the release on GitHub.
In order to not require an API token on GitHub in development, there is a separate script in scripts/fetchReleases.js
that can be run to fetch the releases from GitHub. This script needs to be run before you update the selected.json
file.
- Make sure
npm
is up to date. (Check Node.js version withnode -v
and make sure it corresponds to the version in/.github/workflows/deploy.yml
. For example, if the version specified in the deploy.yml file isnode-version: 16.x
thenv16.17.0
would be a match.) - Make sure that the release has been published on GitHub
- Create a GitHub access token
- Create a git branch to hold your changes
- Run the script with:
npm run fetchReleases
- Enter your GitHub access token when prompted
- Edit the
/content/download/selected.json
file to include the new release tag - Make a pull request to the
main
branch