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
<tag>: Used to created the release. It is also used as the release's name
14
-
<branch>: Reference from where to create the provided <tag>, if it does not exist
15
-
<description>: The release description
16
-
<files>: Glob pattern describing the list of files to include in the release
12
+
<user/repo>: Github user and repository
13
+
<tag>: Used to created the release. It is also used as the release's name
14
+
<branch>: Reference from where to create the provided <tag>, if it does not exist
15
+
<description>: The release description
16
+
<files>: Glob pattern describing the list of files to include in the release
17
17
18
18
Options:
19
-
-version: Displays version
19
+
-version: Displays version
20
+
21
+
Environment variables:
22
+
DEBUG: Allows you to run github-release in debugging mode. DO NOT do this if you are attempting to upload big files.
23
+
GITHUB_TOKEN: Must be set in order to interact with Github's API
24
+
GITHUB_USER: Just in case you want an alternative way of providing your github user
25
+
GITHUB_REPO: Just in case you want an alternative way of providing your github repo
26
+
GITHUB_API: Github API endpoint. Set to https://api.github.com/repos/:github-user/:github-repo" by default
20
27
21
28
Before using this tool make sure you set the environment variable GITHUB_TOKEN
22
29
with a valid Github token and correct authorization scopes to allow you to create releases
23
30
in your project. For more information about creating Github tokens please read the
24
31
official Github documentation at https://help.github.com/articles/creating-an-access-token-for-command-line-use/
32
+
33
+
Author: https://github.com/c4milo
34
+
License: http://mozilla.org/MPL/2.0/
35
+
25
36
```
26
37
27
38
### Examples
28
39
Feel free to inspect this project's [Makefile](https://github.com/c4milo/github-release/blob/master/Makefile) for an example on how this tool can be used to create releases like this:
0 commit comments