ci: also update .SRCINFO in pkgver workflow
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 1s
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 1s
paru reads .SRCINFO (not PKGBUILD) for version comparison during sysupgrade. Without updating .SRCINFO, paru never detects upgrades for PKGBUILD repository packages.
This commit is contained in:
parent
7cd1f8cb6d
commit
f01c6bd25d
@ -33,10 +33,11 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s/^pkgver=.*/pkgver=$PKGVER/" moonset-git/PKGBUILD
|
sed -i "s/^pkgver=.*/pkgver=$PKGVER/" moonset-git/PKGBUILD
|
||||||
|
sed -i "s/^\tpkgver = .*/\tpkgver = $PKGVER/" moonset-git/.SRCINFO
|
||||||
echo "Updated pkgver: $OLD_VER → $PKGVER"
|
echo "Updated pkgver: $OLD_VER → $PKGVER"
|
||||||
|
|
||||||
git config user.name "pkgver-bot"
|
git config user.name "pkgver-bot"
|
||||||
git config user.email "gitea@moonarch.de"
|
git config user.email "gitea@moonarch.de"
|
||||||
git add moonset-git/PKGBUILD
|
git add moonset-git/PKGBUILD moonset-git/.SRCINFO
|
||||||
git commit -m "chore(moonset-git): bump pkgver to $PKGVER"
|
git commit -m "chore(moonset-git): bump pkgver to $PKGVER"
|
||||||
git -c http.extraHeader="Authorization: token ${{ secrets.PKGBUILD_TOKEN }}" push
|
git -c http.extraHeader="Authorization: token ${{ secrets.PKGBUILD_TOKEN }}" push
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user