refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / _examples / built-with-goreleaser / README.md
1 # Building with GoReleaser?
2
3 And publishing with Git Releases?
4
5 If so, you can copy one of the given examples, do a little find-and-replace, and
6 viola, you've got your Webi installer!
7
8 Each example has four files that need to be modified, just slightly:
9
10 - install.sh
11 - install.ps1
12 - releases.js
13 - README.md
14
15 ## Releases with .tag.gz and .zip
16
17 See [./keypairs/](/keypairs/) as an example.
18
19 ```bash
20 rsync -av ./keypairs/ ./my-project/
21 ```
22
23 Keypairs is packaged for Mac and Linux as `.tar.gz`, and as `.zip` for Windows.
24
25 ## Bare Releases (no compression)
26
27 See [./arc/](/arc/) as an example.
28
29 ```bash
30 rsync -av ./arc/ ./my-project/
31 ```
32
33 Arc is an unarchive tool and, therefore, makes sense that it is released
34 unpackaged, without compression.
35
36 Note: `arc` is the installed command name, while `archiver` is the package name.
37 When you find-and-replace, you'll probably replace both with your command name,
38 because your command and package probably have the same name.