Skip to content
Merged
Show file tree
Hide file tree
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
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ jobs:
mkdir -p "${PKGDIR}/usr/bin"
cp target/release/gitnapse "${PKGDIR}/usr/bin/gitnapse"

# Generate a minimal PKGBUILD-compatible package using bsdtar/makepkg structure
mkdir -p "${PKGDIR}/.PKGINFO"
# 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 = $(du -sb "${PKGDIR}/usr/bin/gitnapse" | cut -f1)
EOF
pkgname = gitnapse
pkgver = ${VERSION}-1
arch = x86_64
size = ${BINSIZE}
EOF

asset="gitnapse-${RELEASE_TAG}-linux-arch-x86_64.pkg.tar.zst"
bsdtar --zstd -cf "${asset}" -C "${PKGDIR}" .
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gitnapse"
version = "0.1.0"
version = "0.1.2"
edition = "2024"
description = "A TUI tool to browse and manage your GitHub repositories"
license = "MIT"
Expand Down