evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / ma / manicode / update.sh
blob448195ca20412aeb1c79faf5f08673c372b539bc
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p nodePackages.npm nix-update
4 set -euo pipefail
6 version=$(npm view manicode version)
8 # Generate updated lock file
9 cd "$(dirname "${BASH_SOURCE[0]}")"
10 npm i --package-lock-only manicode@$version
11 rm -f package.json
13 # Update version and hases
14 cd -
15 nix-update manicode --version "$version"