forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lazygit.yaml
53 lines (46 loc) · 1.08 KB
/
lazygit.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
43
44
45
46
47
48
49
50
51
52
53
package:
name: lazygit
version: 0.44.1
epoch: 1
description: simple terminal UI for git commands
copyright:
- license: MIT
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- go
environment:
CGO_ENABLED: "0"
pipeline:
- uses: git-checkout
with:
repository: https://github.com/jesseduffield/lazygit
tag: v${{package.version}}
expected-commit: 611fabde11d24d9acc71ee26077b9a1101f59f27
- uses: go/bump
with:
deps: golang.org/x/[email protected] golang.org/x/[email protected]
replaces: golang.org/x/net=golang.org/x/[email protected]
- uses: go/build
with:
packages: .
ldflags: |
-s -w
-X main.version=${{package.version}}
-X main.commit=$(git rev-parse HEAD)
-X main.date=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
-X main.buildSource=wolfiRelease
output: lazygit
- uses: strip
update:
enabled: true
github:
identifier: jesseduffield/lazygit
strip-prefix: v
test:
pipeline:
- runs: |
lazygit --version
lazygit --help