Newer
Older
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
31
32
33
34
35
36
37
38
39
40
# @semantic-release/archive
> [**semantic-release**](https://github.com/semantic-release/semantic-release)
> plugin to create archives.
| Step | Description |
| ------------------ | --------------------------------------- |
| `verifyConditions` | Verify that the input paths exist. |
| `prepare` | Create an archive from the input paths. |
## Getting Started
```sh
npm config set always-auth true
npm install --save-dev @semantic-release/archive
```
Add the following to `.releaserc.yaml`:
```yaml
plugins:
- path: "@semantic-release/archive"
inputs:
- path1
- path2
```
## Configuration
### `inputs`
The paths to add to the archive.
These can be directories and/or filepaths.
### `archive`
The path where the archive should be created.
Defaults to `archive.tar.gz`.