Skip to content

Commit

Permalink
publish cli releases as scoop packages (#546)
Browse files Browse the repository at this point in the history
We configure the scoop publisher of goreleaser to create a package
manifest for scoop in the `bucket` directory. Windows users will be able
to install and update exo cli.
---------

Co-authored-by: Philipp Sauter <[email protected]>
  • Loading branch information
sauterp and sauterp authored Sep 29, 2023
1 parent 5463a46 commit 8a843e4
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- '**'
paths-ignore:
- '**.md'
- 'bucket/**'
tags-ignore:
- 'v*' # Don't run CI tests on release tags

Expand Down
14 changes: 14 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,17 @@ signs:
- cmd: gpg
args: ["--default-key", "7100E8BFD6199CE0374CB7F003686F8CDE378D41", "--detach-sign", "${artifact}"]
artifacts: all

scoops:
- description: "Command-line tool for everything at Exoscale: compute, storage, dns."
folder: "bucket"
commit_author:
name: "Exoscale Tooling"
email: "[email protected]"
commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/exoscale/cli"
license: "Apache License 2.0"
repository:
owner: exoscale
name: cli
branch: master
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## UNRELEASED

- publish cli releases as scoop packages #546
- install script: verify signatures before installation #540
- release: adapt AUR release script for signed packages #541
- Updated `exo x` #542
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ $ make build

Upon successful compilation, the resulting `exo` binary is stored in the `bin/` directory.

### Using the scoop package manager on Windows

If you haven't installed scoop already, follow the instructions at [scoop.sh](https://scoop.sh) before installing `exo` with:

```shell
scoop bucket add exoscale-cli https://github.com/exoscale/cli
scoop install exoscale-cli
```

To update `exo` to the latest version:

```shell
scoop update
scoop update exoscale-cli
```

## Configuration

Expand Down
2 changes: 1 addition & 1 deletion go.mk
Submodule go.mk updated 1 files
+1 −1 release.mk

0 comments on commit 8a843e4

Please sign in to comment.