Skip to content

Commit c79db18

Browse files
committed
Updated instructions for new releases (new workflow + clarifications)
1 parent 72b007c commit c79db18

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/download.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ In order to not require an API token on GitHub in development, there is a separa
66

77
## How to show a new release on the download page
88

9-
1. Make sure `npm` is up to date
9+
1. Make sure `npm` is up to date. (Check Node.js version with `node -v` and make sure it corresponds to the version in [`/.github/workflows/deploy.yml`](https://github.com/processing/processing-website/blob/main/.github/workflows/deploy.yml). For example, if the version specified in the deploy.yml file is `node-version: 16.x` then `v16.17.0` would be a match.)
1010
1. Make sure that the release has been published on GitHub
11-
1. Run the script with a GitHub token: `$ GITHUB_TOKEN=SOMETOKENHERE npm run fetchReleases`
12-
1. Edit the [`selected.json`](/content/download/selected.json) file to include the new release tag
13-
1. Make a PR to the `main` branch.
11+
1. Create a [GitHub access token](https://github.com/settings/tokens)
12+
1. Create a git branch to hold your changes
13+
1. Run the script with: `npm run fetchReleases`
14+
1. Enter your GitHub access token when prompted
15+
1. Edit the [`/content/download/selected.json`](/content/download/selected.json) file to include the new release tag
16+
1. Make a pull request to the `main` branch

0 commit comments

Comments
 (0)