feat(justfile): add bump-meta and aur-publish-meta

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-30 03:54:13 +01:00
parent a1b47b8ba0
commit 43f7228be2

View File

@@ -152,6 +152,21 @@ bump-plugins new_version:
git commit -m "chore(plugins): bump all plugins to {{new_version}}"
echo "All plugins bumped to {{new_version}}"
# Bump meta-packages (no crate, just AUR version)
bump-meta new_version:
#!/usr/bin/env bash
set -euo pipefail
for pkg in owlry-essentials owlry-tools owlry-widgets owlry-full; do
file="aur/$pkg/PKGBUILD"
old=$(grep '^pkgver=' "$file" | sed 's/pkgver=//')
if [ "$old" != "{{new_version}}" ]; then
echo "Bumping $pkg from $old to {{new_version}}"
sed -i 's/^pkgver=.*/pkgver={{new_version}}/' "$file"
(cd "aur/$pkg" && makepkg --printsrcinfo > .SRCINFO)
fi
done
echo "Meta-packages bumped to {{new_version}}"
# Bump all non-core crates (plugins + runtimes) to same version
bump-all new_version:
#!/usr/bin/env bash
@@ -381,6 +396,16 @@ aur-publish-plugins:
echo ""
done
# Publish all meta-packages
aur-publish-meta:
#!/usr/bin/env bash
set -euo pipefail
for pkg in owlry-essentials owlry-tools owlry-widgets owlry-full; do
echo "=== Publishing $pkg ==="
just aur-publish-pkg "$pkg"
done
echo "All meta-packages published!"
# List all AUR packages with their versions
aur-status:
#!/usr/bin/env bash