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