ci: adds homebrew
This commit is contained in:
parent
39f399bea6
commit
90ac7415d3
@ -24,7 +24,7 @@ steps:
|
||||
- lint
|
||||
|
||||
- name: build
|
||||
image: goreleaser/goreleaser:v0.169.0
|
||||
image: goreleaser/goreleaser:v0.171.0
|
||||
commands:
|
||||
- make build
|
||||
depends_on:
|
||||
@ -37,10 +37,10 @@ steps:
|
||||
- tag
|
||||
|
||||
- name: release
|
||||
image: goreleaser/goreleaser:v0.169.0
|
||||
image: goreleaser/goreleaser:v0.171.0
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
GIHUB_TOKEN:
|
||||
from_secret: github_token
|
||||
commands:
|
||||
- goreleaser release --rm-dist
|
||||
depends_on:
|
||||
|
@ -51,11 +51,33 @@ changelog:
|
||||
- "prepares release"
|
||||
|
||||
archives:
|
||||
- format: tar.gz
|
||||
replacements:
|
||||
darwin: macos
|
||||
|
||||
- format: binary
|
||||
id: only-binary
|
||||
replacements:
|
||||
darwin: macos
|
||||
|
||||
release:
|
||||
gitea:
|
||||
github:
|
||||
owner: xsteadfastx
|
||||
name: don
|
||||
|
||||
brews:
|
||||
- name: don
|
||||
tap:
|
||||
owner: xsteadfastx
|
||||
name: homebrew-tap
|
||||
commit_author:
|
||||
name: Marvin Steadfast
|
||||
email: marvin@xsteadfastx.org
|
||||
homepage: https://git.xsfx.dev/xsteadfastx/don
|
||||
install: |
|
||||
bin.install "don"
|
||||
test: |
|
||||
system "#{bin}/don version"
|
||||
|
||||
gomod:
|
||||
proxy: true
|
||||
|
1
Makefile
1
Makefile
@ -32,4 +32,5 @@ readme:
|
||||
-credit=false \
|
||||
-functions \
|
||||
-types \
|
||||
-skip-sub-packages \
|
||||
> README.md
|
||||
|
7
don.go
7
don.go
@ -4,9 +4,12 @@
|
||||
//
|
||||
// Use as commandline tool
|
||||
//
|
||||
// Download the tool from the (download page) https://git.xsfx.dev/xsteadfastx/don/releases.
|
||||
// Download the tool from the (download page) https://github.com/xsteadfastx/don/releases or
|
||||
// install via brew:
|
||||
//
|
||||
// don -t 15m -r 15s -c "ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 root@container"
|
||||
// brew tap xsteadfastx/tap https://github.com/xsteadfastx/homebrew-tap
|
||||
// brew install don
|
||||
// don -t 15m -r 15s -c "ssh -o StrictHostKeyChecking=no -o ConnectTimeout=10 root@container"
|
||||
//
|
||||
// This example checks every 15 seconds if the ssh container is ready. It would timeout with an
|
||||
// error after 15 minutes.
|
||||
|
Loading…
Reference in New Issue
Block a user