Update pob and fix update script
This commit is contained in:
parent
0f325244d2
commit
1cab9b2773
@ -19,8 +19,8 @@ let
|
||||
src = fetchFromGitHub {
|
||||
owner = "PathOfBuildingCommunity";
|
||||
repo = "PathOfBuilding";
|
||||
rev = "b28c9cd74b664a9af3fb8d72416afebe140b350a";
|
||||
hash = "sha256-fxpxuS64MpHJrq1tqrhZFKF0wz7phyijLIHEuxzUfa0=";
|
||||
rev = "9481c10746f58e73f72572363ae6891129a95200";
|
||||
hash = "sha256-TMJp/+DCHIXNtt96291c3Nf19QaGhnhCmx73mcMk9jM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eo pipefail
|
||||
set -x
|
||||
# set -x
|
||||
|
||||
# TODO: Update pobfrontend as well?
|
||||
|
||||
@ -11,7 +11,7 @@ else
|
||||
nurl_output=$(nurl -j https://github.com/PathOfBuildingCommunity/PathOfBuilding "$1" 2>/dev/null)
|
||||
fi
|
||||
|
||||
hash=$(jq '.args.hash' <<< "$nurl_output")
|
||||
hash=$(jq '.args.hash' <<< "$nurl_output" | sed 's/\//\\\//g')
|
||||
echo "Updating pob to $rev"
|
||||
|
||||
# Find lines to replace
|
||||
|
Loading…
Reference in New Issue
Block a user