-
Notifications
You must be signed in to change notification settings - Fork 31
/
usage.txt
30 lines (23 loc) · 952 Bytes
/
usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Usage: node release.js [--dry-run] [--pre-release=version] [--branch=branch] --remote=repo
OPTIONS
--dry-run
Executes in test mode, skipping npm publish and CDN push.
--pre-release=version
Creates a pre-release instead of a stable release. Since the
version number can't be determined automatically, it must be
provided, and must be a valid semver.
--branch=branch
Specifies which branch to create the release from.
Defaults to main.
--remote=repo
Specifies the remote repository to work with. There are three
ways to specify the remote:
- GitHub Repository (user/repo)
- File System (/path/to/repo)
- URL (http://mydomain/repo.git)
Regardless of which method is used to specify the remote, the
part after the last slash must match the repo name on GitHub.
TEST RELEASES
To test the release process without affecting any official
repositories, specificy a custom remote, such as your own fork of
the repository.