mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 11:36:11 +01:00
scripts/update-checksums.sh: also update template
This commit is contained in:
parent
72f9111d49
commit
b61138e130
1 changed files with 4 additions and 4 deletions
|
|
@ -7,7 +7,7 @@ cd "$SCRIPT_DIR/.."
|
|||
tag=$(curl --silent "https://api.github.com/repos/nix-community/nix-direnv/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
|
||||
sha256=$(direnv fetchurl "https://raw.githubusercontent.com/nix-community/nix-direnv/${tag}/direnvrc" | grep -m1 -o 'sha256-.*')
|
||||
|
||||
sed -i README.md -e "s!sha256-.*!sha256-${sha256}\"!"
|
||||
git add README.md
|
||||
git commit -m "README: update fetchurl checksum"
|
||||
git push
|
||||
sed -i README.md template/.envrc -e "s!sha256-.*!${sha256}\"!"
|
||||
git add README.md template/.envrc
|
||||
git commit -m "update fetchurl checksum"
|
||||
#git push
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue