Skip to content
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,4 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.PRO_ACCESS_TOKEN }}
33 changes: 33 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ version: 2

project_name: lstk

before:
hooks:
- go mod tidy
- mkdir -p completions
- sh -c "go run . completion bash > completions/lstk.bash"
- sh -c "go run . completion zsh > completions/lstk.zsh"
- sh -c "go run . completion fish > completions/lstk.fish"

builds:
- id: lstk
main: ./main.go
Expand Down Expand Up @@ -31,9 +39,34 @@ archives:
- goos: windows
formats:
- zip
files:
- completions/*

checksum:
name_template: checksums.txt

changelog:
use: github-native

homebrew_casks:
- name: lstk
directory: Casks
repository:
owner: localstack
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
homepage: https://github.com/localstack/lstk
description: "LocalStack CLI v2 - Start and manage LocalStack emulators"
license: Apache-2.0
url:
verified: github.com/localstack/lstk
completions:
bash: completions/lstk.bash
zsh: completions/lstk.zsh
fish: completions/lstk.fish
hooks:
post:
install: |
if OS.mac?
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/lstk"]
end