mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
ci(buildkite): fix missing commit in build-info for authelia aur package (#2609)
This commit is contained in:
parent
d04706eb2e
commit
dbbb506fa5
|
@ -7,12 +7,12 @@ git clone ssh://aur@aur.archlinux.org/"${PACKAGE}".git
|
||||||
cd "${PACKAGE}" || exit
|
cd "${PACKAGE}" || exit
|
||||||
|
|
||||||
if [[ "${PACKAGE}" != "authelia-git" ]]; then
|
if [[ "${PACKAGE}" != "authelia-git" ]]; then
|
||||||
sed -i -e "/pkgver=/c pkgver=${BUILDKITE_TAG//v/}" \
|
sed -i -e "/^pkgver=/c pkgver=${BUILDKITE_TAG//v/}" \
|
||||||
-e '/pkgrel=/c pkgrel=1' PKGBUILD && \
|
-e '/^pkgrel=/c pkgrel=1' PKGBUILD && \
|
||||||
docker run --rm -v $PWD:/build authelia/aurpackager bash -c "cd /build && updpkgsums"
|
docker run --rm -v $PWD:/build authelia/aurpackager bash -c "cd /build && updpkgsums"
|
||||||
else
|
else
|
||||||
sed -i -e "/pkgver=/c pkgver=${GITTAG}" \
|
sed -i -e "/^pkgver=/c pkgver=${GITTAG}" \
|
||||||
-e '/pkgrel=/c pkgrel=1' PKGBUILD
|
-e '/^pkgrel=/c pkgrel=1' PKGBUILD
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker run --rm -v $PWD:/build authelia/aurpackager bash -c "cd /build && makepkg --printsrcinfo >| .SRCINFO" && \
|
docker run --rm -v $PWD:/build authelia/aurpackager bash -c "cd /build && makepkg --printsrcinfo >| .SRCINFO" && \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user