UNPKG

604 BMarkdownView Raw
1# Upload Assets Plugin
2
3Upload assets to the release. Good for executables and extra downloadable files.
4
5## Installation
6
7This plugin is not included with the `auto` CLI installed via NPM. To install:
8
9```sh
10npm i --save-dev @auto-it/upload-assets
11# or
12yarn add -D @auto-it/upload-assets
13```
14
15## Usage
16
17Simply supply the paths to the assets to add to the release.
18
19```json
20{
21 "plugins": [
22 ["upload-assets", { "assets": ["./path/to/file"] }],
23 // or
24 ["upload-assets", ["./path/to/file"]],
25 // or use globs to upload multiple things
26 ["upload-assets", ["./path/**/to/*.file"]]
27 ]
28}
29```