Skip to content

Commit b544ad4

Browse files
author
Nathan Friend
committed
docs: add note about behavior of label property
1 parent f10eef6 commit b544ad4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ Create a [personal access token](https://docs.gitlab.com/ce/user/profile/persona
6969
Can be a [glob](https://github.com/isaacs/node-glob#glob-primer) or and `Array` of
7070
[globs](https://github.com/isaacs/node-glob#glob-primer) and `Object`s with the following properties:
7171

72-
| Property | Description | Default |
73-
| -------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------ |
74-
| `path` | **Required.** A [glob](https://github.com/isaacs/node-glob#glob-primer) to identify the files to upload. | - |
75-
| `label` | Short description of the file displayed on the GitLab release. | File name extracted from the `path`. |
72+
| Property | Description | Default |
73+
| -------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------ |
74+
| `path` | **Required.** A [glob](https://github.com/isaacs/node-glob#glob-primer) to identify the files to upload. | - |
75+
| `label` | Short description of the file displayed on the GitLab release. Ignored if `path` matches more than one file.| File name extracted from the `path`. |
7676

7777
Each entry in the `assets` `Array` is globbed individually. A [glob](https://github.com/isaacs/node-glob#glob-primer)
7878
can be a `String` (`"dist/**/*.js"` or `"dist/mylib.js"`) or an `Array` of `String`s that will be globbed together

0 commit comments

Comments
 (0)