-
Notifications
You must be signed in to change notification settings - Fork 289
/
Copy pathinflux.yaml
42 lines (36 loc) · 886 Bytes
/
influx.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package:
name: influx
version: 2.7.3
epoch: 10
description: CLI for managing resources in InfluxDB v2
copyright:
- license: MIT
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- go
pipeline:
- uses: git-checkout
with:
repository: https://github.com/influxdata/influx-cli
tag: v${{package.version}}
expected-commit: 8b962c7e750559f784dd2028633e5f324d4a8da2
- uses: go/bump
with:
deps: google.golang.org/[email protected]
- runs: |
# Our global LDFLAGS conflict with a Makefile parameter
unset LDFLAGS
make
mkdir -p ${{targets.destdir}}/usr/bin
mv bin/linux/$(go env GOARCH)/influx ${{targets.destdir}}/usr/bin/influx
- uses: strip
update:
enabled: true
github:
identifier: influxdata/influx-cli
strip-prefix: v