Merge pull request #253285 from 999eagle/update/git-credential-manager
git-credential-manager: 2.2.2 -> 2.3.2
This commit is contained in:
commit
33cb451ef9
@ -20,13 +20,13 @@
|
||||
assert withLibsecretSupport -> withGuiSupport;
|
||||
buildDotnetModule rec {
|
||||
pname = "git-credential-manager";
|
||||
version = "2.2.2";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "git-ecosystem";
|
||||
repo = "git-credential-manager";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XXtir/sSjJ1rpv3UQHM3Kano/fMBch/sm8ZtYwGyFyQ=";
|
||||
hash = "sha256-vfv6dCmTuDsh6MaD2HAKlxZtQGVE0B5HJZPnoAUwUnM=";
|
||||
};
|
||||
|
||||
projectFile = "src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj";
|
||||
|
@ -16,8 +16,8 @@ fi
|
||||
echo "updating $currentVersion -> $latestVersion"
|
||||
|
||||
sed -i -e "s/version = \"${currentVersion}\"/version = \"${latestVersion}\"/" default.nix
|
||||
hash="$(nix-prefetch ./.)"
|
||||
sed -i -Ee "s/hash = \"sha256-[A-Za-z0-9=]{44}\"/hash = \"${hash}\"/" default.nix
|
||||
hash="$(nix-prefetch -f "$(pwd)/../../../.." git-credential-manager)"
|
||||
sed -i -Ee "s/hash = \"sha256-[A-Za-z0-9/+=]{44}\"/hash = \"${hash}\"/" default.nix
|
||||
|
||||
|
||||
$(nix-build ../../../.. -A git-credential-manager.fetch-deps --no-out-link)
|
||||
|
Loading…
Reference in New Issue
Block a user