mastodon: simplify update script
This commit is contained in:
parent
d90e8fdfb7
commit
a985e3c9ff
1 changed files with 0 additions and 1 deletions
|
@ -78,7 +78,6 @@ trap cleanup EXIT
|
|||
echo "Fetching source code $REVISION"
|
||||
JSON=$(nix-prefetch-github "$OWNER" "$REPO" --rev "$REVISION" 2> $WORK_DIR/nix-prefetch-git.out)
|
||||
HASH="$(echo "$JSON" | jq -r .hash)"
|
||||
HASH="$(nix hash to-sri --type sha256 "$HASH")"
|
||||
|
||||
echo "Creating version.nix"
|
||||
echo "\"$VERSION\"" | sed 's/^"v/"/' > version.nix
|
||||
|
|
Loading…
Reference in a new issue