factorio: 2.0.15 -> 2.0.20
This commit is contained in:
parent
8dd92bf641
commit
0faa8354ad
2 changed files with 4 additions and 4 deletions
|
@ -10,5 +10,5 @@ current_hash="$(rg '^.*?hash\s*=\s*"(.+)".*?$' --replace '$1' ./default.nix)"
|
|||
new_version="$(curl https://factorio.com/api/latest-releases | jq -r .stable.headless)"
|
||||
new_hash="$(nix-hash --to-sri --type sha256 $(nix-prefetch-url --type sha256 https://www.factorio.com/get-download/${new_version}/headless/linux64))"
|
||||
|
||||
sd "$current_version" "$new_version" ./default.nix
|
||||
sd "$current_hash" "$new_hash" ./default.nix
|
||||
sd --fixed-strings "$current_version" "$new_version" ./default.nix
|
||||
sd --fixed-strings "$current_hash" "$new_hash" ./default.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue