File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ RUN pacman -S --noconfirm --needed --overwrite '*' \
5
5
openssh sudo \
6
6
git fakeroot binutils gcc awk binutils xz \
7
7
libarchive bzip2 coreutils file findutils \
8
- gettext grep gzip sed ncurses util-linux
8
+ gettext grep gzip sed ncurses util-linux \
9
+ pacman-contrib
9
10
10
11
COPY entrypoint.sh /entrypoint.sh
11
12
COPY build.sh /build.sh
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ inputs:
15
15
description : ' Newline-separated glob patterns for additional files to be added to the AUR repository'
16
16
required : false
17
17
default : ' '
18
+ updpkgsums :
19
+ description : ' Update checksums using `updpkgsums`'
20
+ required : false
21
+ default : ' false'
18
22
commit_username :
19
23
description : ' The username to use when creating the new commit'
20
24
required : true
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ set -o errexit -o pipefail -o nounset
6
6
pkgname=$INPUT_PKGNAME
7
7
pkgbuild=$INPUT_PKGBUILD
8
8
assets=$INPUT_ASSETS
9
+ updpkgsums=$INPUT_UPDPKGSUMS
9
10
commit_username=$INPUT_COMMIT_USERNAME
10
11
commit_email=$INPUT_COMMIT_EMAIL
11
12
ssh_private_key=$INPUT_SSH_PRIVATE_KEY
@@ -70,6 +71,13 @@ if [[ -n "$assets" ]]; then
70
71
fi
71
72
echo ' ::endgroup::'
72
73
74
+ if [ " $updpkgsums " == " true" ]; then
75
+ echo ' ::group::Updating checksums'
76
+ cd /tmp/local-repo/
77
+ updpkgsums
78
+ echo ' ::endgroup::'
79
+ fi
80
+
73
81
echo ' ::group::Generating .SRCINFO'
74
82
cd /tmp/local-repo
75
83
makepkg --printsrcinfo > .SRCINFO
You can’t perform that action at this time.
0 commit comments