Skip to content

Commit ee54035

Browse files
committed
chore: attach zip archives to releases for consistent binary names
1 parent 7dea59d commit ee54035

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.goreleaser.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ builds:
2424

2525
archives:
2626
- formats:
27-
- 'binary'
27+
- 'zip'
2828
name_template: "equinix-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
29+
files:
30+
- LICENSE
2931
checksum:
3032
name_template: "equinix_{{ .Version }}_checksums.txt"
3133
release:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
## Installation
66

7-
[Equinix CLI releases](https://github.com/equinix/cli/releases/latest) contain precompiled binaries for a variety of architectures.
7+
[Equinix CLI releases](https://github.com/equinix/cli/releases/latest) contain precompiled binaries for a variety of operating systems and architectures.
88

9-
1. Download the appropriate binary for your platform from the desired Equinix CLI release
10-
2. Rename the downloaded file to `equinix`
11-
3. Run `chmod +x equinix` to make the downloaded file executable
9+
1. Download the appropriate zip archive for your platform from the desired Equinix CLI release
10+
2. Run `unzip <zip file name>` to expand the zip archive you downloaded
11+
3. You can run the command immediately as `./equinix` or, if you prefer, `cp equinix <directory>` where `<directory>` is a location on your local filesystem that is already included in your `PATH`.
1212

1313
## Usage
1414

0 commit comments

Comments
 (0)