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 '*' \
55 openssh sudo \
66 git fakeroot binutils gcc awk binutils xz \
77 libarchive bzip2 coreutils file findutils \
8- gettext grep gzip sed ncurses util-linux
8+ gettext grep gzip sed ncurses util-linux \
9+ pacman-contrib
910
1011COPY entrypoint.sh /entrypoint.sh
1112COPY build.sh /build.sh
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ inputs:
1515 description : ' Newline-separated glob patterns for additional files to be added to the AUR repository'
1616 required : false
1717 default : ' '
18+ updpkgsums :
19+ description : ' Update checksums using `updpkgsums`'
20+ required : false
21+ default : ' false'
1822 commit_username :
1923 description : ' The username to use when creating the new commit'
2024 required : true
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ set -o errexit -o pipefail -o nounset
66pkgname=$INPUT_PKGNAME
77pkgbuild=$INPUT_PKGBUILD
88assets=$INPUT_ASSETS
9+ updpkgsums=$INPUT_UPDPKGSUMS
910commit_username=$INPUT_COMMIT_USERNAME
1011commit_email=$INPUT_COMMIT_EMAIL
1112ssh_private_key=$INPUT_SSH_PRIVATE_KEY
@@ -70,6 +71,13 @@ if [[ -n "$assets" ]]; then
7071fi
7172echo ' ::endgroup::'
7273
74+ if [ " $updpkgsums " == " true" ]; then
75+ echo ' ::group::Updating checksums'
76+ cd /tmp/local-repo/
77+ updpkgsums
78+ echo ' ::endgroup::'
79+ fi
80+
7381echo ' ::group::Generating .SRCINFO'
7482cd /tmp/local-repo
7583makepkg --printsrcinfo > .SRCINFO
You can’t perform that action at this time.
0 commit comments