mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
git-credential-manager: move to by-name
(cherry picked from commit 77ba176203)
This commit is contained in:
parent
e26f06d255
commit
3c16850ad8
4 changed files with 1 additions and 3 deletions
|
|
@ -4,7 +4,7 @@ set -eo pipefail
|
|||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
new_version="$(curl -s "https://api.github.com/repos/git-ecosystem/git-credential-manager/releases?per_page=1" | jq -r '.[0].name' | sed 's|^GCM ||')"
|
||||
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)"
|
||||
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./package.nix)"
|
||||
if [[ "$new_version" == "$old_version" ]]; then
|
||||
echo "Up to date"
|
||||
exit 0
|
||||
|
|
@ -1163,8 +1163,6 @@ with pkgs;
|
|||
;
|
||||
};
|
||||
|
||||
git-credential-manager = callPackage ../applications/version-management/git-credential-manager { };
|
||||
|
||||
git-credential-aol = callPackage ../by-name/gi/git-credential-email/git-credential-aol { };
|
||||
|
||||
git-credential-gmail = callPackage ../by-name/gi/git-credential-email/git-credential-gmail { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue