This commit is contained in:
parent
049abe002f
commit
d433645498
2 changed files with 7 additions and 4 deletions
|
@ -34,13 +34,16 @@ jobs:
|
|||
set -xeu
|
||||
packages=$(echo "${{ steps.changed.outputs.all_changed_files }}" | grep -oP '(?<=srcpkgs/)[^/]*' | xargs)
|
||||
[ -z "${packages}" ] && exit 0
|
||||
|
||||
mkdir /target
|
||||
export XBPS_TARGET_ARCH
|
||||
|
||||
for package in $packages; do
|
||||
cp -a "srcpkgs/${package}" "/void-packages-master/srcpkgs/"
|
||||
set +e
|
||||
/void-packages-master/xbps-src pkg "${package}" >"pkg.log"
|
||||
bash -x /void-packages-master/xbps-src pkg "${package}" >"pkg.log"
|
||||
set -e
|
||||
mv "/void-packages-master/hostdir/binpkgs/${package}-*.${{ env.ARCH }}.xbps" "/target/"
|
||||
mv /void-packages-master/hostdir/binpkgs/${package}-*.${{ env.ARCH }}.xbps "/target/"
|
||||
done
|
||||
|
||||
- name: Push packages
|
||||
|
@ -54,7 +57,7 @@ jobs:
|
|||
echo '${{ secrets.XBPS_SIGNING_KEY }}' >"/tmp/privkey.pem"
|
||||
|
||||
for package in $packages; do
|
||||
file="/target/${package}.${{ env.ARCH }}.xbps"
|
||||
file=$(echo /target/${package}-*.${{ env.ARCH }}.xbps | cut -d ' ' -f 1)
|
||||
[ -r "$file" ]
|
||||
xbps-rindex --add "$file"
|
||||
XBPS_PASSPHRASE=${{ secrets.XBPS_SIGNING_PASSPHRASE }} xbps-rindex --privkey "/tmp/privkey.pem" --sign-pkg --signedby "${{ env.MAINTAINER }}" "$file"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'font-firacode-nf-ttf'
|
||||
pkgname=font-firacode-nf-ttf
|
||||
version=3.2.0
|
||||
version=3.1.0
|
||||
revision=1
|
||||
homepage="https://nerdfonts.com/"
|
||||
license="MIT"
|
||||
|
|
Loading…
Add table
Reference in a new issue