v0.4.1 : Phase 1 complete (17/17) - dashboard TUI (#33), favoris/notes/tags (#39), profils d'environnement (#40), completions dynamiques + man pages (#41), packaging officiel + CI (#42), self-update Gitea, state v3, 212 tests
release / linux (push) Failing after 23s
release / windows (push) Canceled after 0s
release / macos (push) Canceled after 0s

This commit is contained in:
2026-08-17 10:50:13 -04:00
parent 4f4cd034b2
commit 56732d672b
93 changed files with 9412 additions and 1270 deletions
+33
View File
@@ -0,0 +1,33 @@
#!/bin/sh
# Builds an am_<version>_amd64.deb from dist/am-linux-x86_64.
# Usage: packaging/deb/make-deb.sh <version> [arch]
set -e
VERSION="$1"
ARCH="${2:-amd64}"
ROOT="$(mktemp -d)"
PKG="am_${VERSION}_${ARCH}"
mkdir -p "$ROOT/$PKG/usr/bin" "$ROOT/$PKG/usr/share/doc/am" "$ROOT/$PKG/DEBIAN"
cp dist/am-linux-x86_64 "$ROOT/$PKG/usr/bin/am"
chmod 755 "$ROOT/$PKG/usr/bin/am"
cat > "$ROOT/$PKG/DEBIAN/control" <<EOF
Package: am
Version: $VERSION
Section: utils
Priority: optional
Architecture: $ARCH
Maintainer: bruno <[email protected]>
Description: Manage local AI coding agents
List, install, start, stop and update local AI coding agents with
automatic dependency handling and a YAML-driven catalog.
EOF
cat > "$ROOT/$PKG/usr/share/doc/am/copyright" <<EOF
Copyright (c) 2026 bruno
License: MIT
EOF
dpkg-deb --build --root-owner-group "$ROOT/$PKG" "dist/$PKG.deb"
rm -rf "$ROOT"
echo "built dist/$PKG.deb"