diff options
author | Cole Mickens <cole.mickens@gmail.com> | 2018-10-23 21:41:19 -0700 |
---|---|---|
committer | Cole Mickens <cole.mickens@gmail.com> | 2018-10-23 21:41:19 -0700 |
commit | 8fbd6b96c7a4c46a0a4db5c5778a48dd081a9e00 (patch) | |
tree | 8ea00a70e87c3ea3622b5e31e18233f3a3f14bbc /update.sh | |
parent | a947f1762b804d82ab8392f54e19d0fbf71e6fd6 (diff) |
readme automation
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -44,5 +44,7 @@ update "nixpkgs" "nixos" "nixpkgs-channels" "nixos-unstable" nix-build build.nix d="$(date -Iseconds)" -sed -i -E "s/<!---->(.+)<!---->/<!---->${d}<!---->/g" README.md +m="(.+)" +t="<!--update-->" +sed -i -E "s/${t}${m}${t}/${t}${d}${t}/g" README.md |