Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish scoop package manifest during release process #45

Merged
merged 1 commit into from
Apr 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ nfpms:
formats:
- deb
- rpm
scoop:
bucket:
owner: fastly
name: scoop-cli
homepage: https://github.com/fastly/cli
skip_upload: auto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this setting seems to only apply to homebrew, according to the docs, though perhaps they are missing this field for scoop.

description: Fastly CLI
license: Apache 2.0
thommahoney marked this conversation as resolved.
Show resolved Hide resolved
checksum:
name_template: "{{ .ProjectName }}_v{{ .Version }}_SHA256SUMS"
snapshot:
Expand Down
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,39 @@ Install: `brew install fastly/tap/fastly`

Upgrade: `brew upgrade fastly`

### Debian/Ubuntu Linux
### Windows
#### scoop
Install:

```
scoop bucket add fastly-cli https://github.com/fastly/scoop-cli.git
scoop install fastly
```
Upgrade: `scoop update fastly`

### Linux
#### Debian/Ubuntu Linux

Install and upgrade:

1. Download the `.deb` file from the [releases page][releases]
2. `sudo apt install ./fastly_*_linux_amd64.deb` install the downloaded file

### Fedora Linux
#### Fedora Linux

Install and upgrade:

1. Download the `.rpm` file from the [releases page][releases]
2. `sudo dnf install fastly_*_linux_amd64.rpm` install the downloaded file

### Centos Linux
#### Centos Linux

Install and upgrade:

1. Download the `.rpm` file from the [releases page][releases]
2. `sudo yum localinstall fastly_*_linux_amd64.rpm` install the downloaded file

### openSUSE/SUSE Linux
#### openSUSE/SUSE Linux

Install and upgrade:

Expand Down