hippocampus: fix: dawarich
This commit is contained in:
@@ -1 +0,0 @@
|
||||
./package.nix
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.1.0",
|
||||
"hash": "sha256-oL1XLBaSYCeP+Fn+6BlGMEgCTkwZhT1VZNamrcRXrgI=",
|
||||
"version": "1.2.0",
|
||||
"hash": "sha256-6NlqeiG+kjpSVpg8JFvqZPvCoigzjIcF1Ru/AdMwShg=",
|
||||
"npmHash": "sha256-doBsDBsO7npHs/jyeg4xWzdauWoK6dPe8z+97IP2zxI="
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ set -o pipefail
|
||||
OWNER="Freika"
|
||||
REPO="dawarich"
|
||||
|
||||
old_version=$( cat sources.json | jq ".version" | tr -d '"')
|
||||
old_version=$(nix-instantiate --eval -A 'dawarich.version' default.nix | tr -d '"')
|
||||
version=$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} "https://api.github.com/repos/$OWNER/$REPO/releases/latest" | jq -r ".tag_name")
|
||||
|
||||
echo "Updating to $version"
|
||||
|
||||
Reference in New Issue
Block a user