You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***This only applies to those with access to some private repos. You can also use any other repo with a release script.***
18
-
19
17
You can do a test run of the release script by using a different remote repository. **It is recommended to perform tests from a fresh clone of the project being released.** The script is smart enough to detect if you're using an official repository and adjust which actions are taken so that undesired actions, such as publishing to npm, don't occur for test runs.
20
18
19
+
You can also explicitly specify `--dry-run` to skip actions that affect external state.
20
+
21
21
When working on features of this script, adapt the following to simplify testing a bit, replacing the paths for `project` and `cdn`:
You need local clones of [fake-project](https://github.com/jquery/fake-project) and [fake-cdn](https://github.com/jquery/fake-cdn) (private, see note above), then update both variables to point to those.
48
-
49
47
Save as `test-release.sh` in the checkout of this repo, make it executable with `chmod +x test-release.sh`, then run with `./test-release.sh`.
50
48
49
+
***If you have access to the private repositories [fake-project](https://github.com/jquery/fake-project) and [fake-cdn](https://github.com/jquery/fake-cdn)***, you can use them by dropping the `--dry-run` argument and updating the `TEST_REMOTE` environment variable to "git@github.com:jquery/fake-cdn.git".
50
+
51
51
### Full Usage Options
52
52
53
53
See the [usage documentation](/docs/usage.txt) for the full set of options. You can also run the script with no parameters to see the usage.
0 commit comments