mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Create nix-flake-update.sh
This commit is contained in:
9
nix-flake-update.sh
Executable file
9
nix-flake-update.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
update_msg=$(nix flake update 2>&1 | grep -v 'warning:')
|
||||
make
|
||||
git add .
|
||||
git commit -S -m "nix flake update: $(TZ=UTC date '+%Y-%m-%d %H:%M:%S %Z')
|
||||
|
||||
$update_msg"
|
||||
git push
|
Reference in New Issue
Block a user