summaryrefslogtreecommitdiffstatshomepage
path: root/justfile
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:36 +0100
committersommerfeld <sommerfeld@sommerfeld.dev>2026-09-17 15:05:36 +0100
commit64d47934715959c6d52172c68ac6f15d1cb0b954 (patch)
tree337b7024538b45193fad61266fbfb0b4d1733b7e /justfile
parenta071bb014a24c5c22b2e39ff57bc7362505baf20 (diff)
downloaddotfiles-64d47934715959c6d52172c68ac6f15d1cb0b954.tar.gz
dotfiles-64d47934715959c6d52172c68ac6f15d1cb0b954.tar.bz2
dotfiles-64d47934715959c6d52172c68ac6f15d1cb0b954.zip
Manage AI agent releases and shared settings
Diffstat (limited to 'justfile')
-rw-r--r--justfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/justfile b/justfile
index 1b525bc..623f6c2 100644
--- a/justfile
+++ b/justfile
@@ -75,8 +75,11 @@ arch-news-check:
arch-news-read:
@sh "{{ justfile_directory() }}/dot_local/bin/executable_arch-news-check" --mark-read
-# Refresh nix flake inputs (nixpkgs, home-manager) then re-activate the profile.
-nix-update: _nix-flake-update nix-switch
+# Refresh package releases and Nix flake inputs, then re-activate the profile.
+nix-update: _nix-release-update _nix-flake-update nix-switch
+
+_nix-release-update:
+ @bash "{{ justfile_directory() }}/nix/update-releases.sh"
_nix-flake-update:
#!/usr/bin/env dash
@@ -149,7 +152,7 @@ _lockfiles-commit:
set -euo pipefail
cd "{{ justfile_directory() }}"
- lockfiles=(nix/flake.lock dot_config/nvim/nvim-pack-lock.json)
+ lockfiles=(nix/flake.lock nix/releases.json dot_config/nvim/nvim-pack-lock.json)
changed=()
for f in "${lockfiles[@]}"; do
if ! git diff --quiet -- "$f" || ! git diff --cached --quiet -- "$f"; then
@@ -172,7 +175,7 @@ _lockfiles-commit:
has_nvim=0
for f in "${staged[@]}"; do
case "$f" in
- nix/flake.lock) has_nix=1 ;;
+ nix/flake.lock|nix/releases.json) has_nix=1 ;;
dot_config/nvim/nvim-pack-lock.json) has_nvim=1 ;;
esac
done