Skip to content

Commit d27be9d

Browse files
committed
git: switch to git-checkout
Signed-off-by: Colin Watson <colin.watson@chainguard.dev>
1 parent b081766 commit d27be9d

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

git.yaml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: git
33
version: "2.52.0"
4-
epoch: 0
4+
epoch: 1
55
description: "distributed version control system"
66
copyright:
77
- license: GPL-2.0-or-later
@@ -33,16 +33,11 @@ environment:
3333
- zlib-dev
3434

3535
pipeline:
36-
- uses: fetch
36+
- uses: git-checkout
3737
with:
38-
uri: https://www.kernel.org/pub/software/scm/git/git-${{package.version}}.tar.xz
39-
expected-sha256: 3cd8fee86f69a949cb610fee8cd9264e6873d07fa58411f6060b3d62729ed7c5
40-
41-
- uses: fetch
42-
working-directory: /home/build/git-manpages
43-
with:
44-
uri: https://www.kernel.org/pub/software/scm/git/git-manpages-${{package.version}}.tar.xz
45-
expected-sha256: 23186deddb3083bbaa9eb947cde26a5c7322d7fdb75bb4b3d60795db38221ac5
38+
repository: https://github.com/git/git
39+
tag: v${{package.version}}
40+
expected-commit: 8273149fa7c8cbc30474b3d0028b62e2a474e152
4641

4742
- runs: |
4843
cat >> config.mak <<-EOF
@@ -61,7 +56,7 @@ pipeline:
6156
make prefix=/usr \
6257
DESTDIR="${{targets.destdir}}" \
6358
INSTALLDIRS=vendor \
64-
install -j$(nproc)
59+
install install-doc -j$(nproc)
6560
6661
- name: install subtree
6762
runs: |
@@ -153,10 +148,7 @@ subpackages:
153148
- name: "git-doc"
154149
description: "git manpages"
155150
pipeline:
156-
- working-directory: /home/build/git-manpages
157-
runs: |
158-
mkdir -p "${{targets.contextdir}}"/usr/share/man
159-
mv man1 man5 man7 "${{targets.contextdir}}"/usr/share/man
151+
- uses: split/manpages
160152
test:
161153
pipeline:
162154
- uses: test/docs
@@ -216,8 +208,11 @@ subpackages:
216208
217209
update:
218210
enabled: true
219-
release-monitor:
220-
identifier: 5350
211+
github:
212+
identifier: git/git
213+
strip-prefix: v
214+
use-tag: true
215+
tag-filter-prefix: v
221216

222217
test:
223218
environment:

0 commit comments

Comments
 (0)