plex-desktop: update script shouldn't commit changes
This commit is contained in:
@@ -69,16 +69,3 @@ sed --regexp-extended \
|
||||
-e 's/version\s*=\s*".*"\s*;/version = "'"${upstream_version}"'";/' \
|
||||
-i "$plex_nix"
|
||||
|
||||
#
|
||||
# try to build the updated version
|
||||
#
|
||||
|
||||
export NIXPKGS_ALLOW_UNFREE=1
|
||||
if ! nix-build -A plex-desktop "$nixpkgs"; then
|
||||
echo "The updated plex-desktop failed to build."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Commit changes
|
||||
git add "$plex_nix"
|
||||
git commit -m "plex-desktop: ${current_version} -> ${upstream_version}"
|
||||
|
||||
Reference in New Issue
Block a user