ci: adds homebrew
This commit is contained in:
parent
39f399bea6
commit
90ac7415d3
@ -24,7 +24,7 @@ steps:
|
|||||||
- lint
|
- lint
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: goreleaser/goreleaser:v0.169.0
|
image: goreleaser/goreleaser:v0.171.0
|
||||||
commands:
|
commands:
|
||||||
- make build
|
- make build
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -37,10 +37,10 @@ steps:
|
|||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:v0.169.0
|
image: goreleaser/goreleaser:v0.171.0
|
||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GIHUB_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: github_token
|
||||||
commands:
|
commands:
|
||||||
- goreleaser release --rm-dist
|
- goreleaser release --rm-dist
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -51,11 +51,33 @@ changelog:
|
|||||||
- "prepares release"
|
- "prepares release"
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
|
- format: tar.gz
|
||||||
|
replacements:
|
||||||
|
darwin: macos
|
||||||
|
|
||||||
- format: binary
|
- format: binary
|
||||||
|
id: only-binary
|
||||||
replacements:
|
replacements:
|
||||||
darwin: macos
|
darwin: macos
|
||||||
|
|
||||||
release:
|
release:
|
||||||
gitea:
|
github:
|
||||||
owner: xsteadfastx
|
owner: xsteadfastx
|
||||||
name: don
|
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 \
|
-credit=false \
|
||||||
-functions \
|
-functions \
|
||||||
-types \
|
-types \
|
||||||
|
-skip-sub-packages \
|
||||||
> README.md
|
> README.md
|
||||||
|
7
don.go
7
don.go
@ -4,9 +4,12 @@
|
|||||||
//
|
//
|
||||||
// Use as commandline tool
|
// 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
|
// This example checks every 15 seconds if the ssh container is ready. It would timeout with an
|
||||||
// error after 15 minutes.
|
// error after 15 minutes.
|
||||||
|
Loading…
Reference in New Issue
Block a user