| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7fc7b19 commit b48e82e
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -827,6 +827,14 @@ or at runtime with: | |||
| 827 | 827 | $ ./tools/release.sh -i ~/.ssh/node_id_rsa | |
| 828 | 828 | ``` | |
| 829 | 829 | ||
| 830 | + You can also specify a different ssh server address to connect to by defining | ||
| 831 | + a `NODEJS_RELEASE_HOST` environment variable: | ||
| 832 | + | ||
| 833 | + ```console | ||
| 834 | + # Substitute proxy.xyz with whatever address you intend to use | ||
| 835 | + $ NODEJS_RELEASE_HOST=proxy.xyz ./tools/release.sh | ||
| 836 | + ``` | ||
| 837 | + | ||
| 830 | 838 | `tools/release.sh` will perform the following actions when run: | |
| 831 | 839 | ||
| 832 | 840 | <details> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,9 @@ | |||
| 8 | 8 | ||
| 9 | 9 | set -e | |
| 10 | 10 | ||
| 11 | - webhost=direct.nodejs.org | ||
| 11 | + [ -z "$NODEJS_RELEASE_HOST" ] && NODEJS_RELEASE_HOST=direct.nodejs.org | ||
| 12 | + | ||
| 13 | + webhost=$NODEJS_RELEASE_HOST | ||
| 12 | 14 | webuser=dist | |
| 13 | 15 | promotablecmd=dist-promotable | |
| 14 | 16 | promotecmd=dist-promote | |
| Back | FazBrowse Home | New Git URL |
0 commit comments