Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ jobs:

# Generate .PKGINFO metadata file (must not be a directory)
BINSIZE="$(du -sb "${PKGDIR}/usr/bin/gitnapse" | cut -f1)"
cat > "${PKGDIR}/.PKGINFO" << EOF
pkgname = gitnapse
pkgver = ${VERSION}-1
arch = x86_64
size = ${BINSIZE}
EOF
{
echo "pkgname = gitnapse"
echo "pkgver = ${VERSION}-1"
echo "arch = x86_64"
echo "size = ${BINSIZE}"
} > "${PKGDIR}/.PKGINFO"

asset="gitnapse-${RELEASE_TAG}-linux-arch-x86_64.pkg.tar.zst"
bsdtar --zstd -cf "${asset}" -C "${PKGDIR}" .
Expand Down