Merge pull request #253285 from 999eagle/update/git-credential-manager

git-credential-manager: 2.2.2 -> 2.3.2
This commit is contained in:
Weijia Wang 2023-09-05 23:37:06 +02:00 committed by GitHub
commit 33cb451ef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -20,13 +20,13 @@
assert withLibsecretSupport -> withGuiSupport; assert withLibsecretSupport -> withGuiSupport;
buildDotnetModule rec { buildDotnetModule rec {
pname = "git-credential-manager"; pname = "git-credential-manager";
version = "2.2.2"; version = "2.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "git-ecosystem"; owner = "git-ecosystem";
repo = "git-credential-manager"; repo = "git-credential-manager";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-XXtir/sSjJ1rpv3UQHM3Kano/fMBch/sm8ZtYwGyFyQ="; hash = "sha256-vfv6dCmTuDsh6MaD2HAKlxZtQGVE0B5HJZPnoAUwUnM=";
}; };
projectFile = "src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj"; projectFile = "src/shared/Git-Credential-Manager/Git-Credential-Manager.csproj";

View File

@ -16,8 +16,8 @@ fi
echo "updating $currentVersion -> $latestVersion" echo "updating $currentVersion -> $latestVersion"
sed -i -e "s/version = \"${currentVersion}\"/version = \"${latestVersion}\"/" default.nix sed -i -e "s/version = \"${currentVersion}\"/version = \"${latestVersion}\"/" default.nix
hash="$(nix-prefetch ./.)" hash="$(nix-prefetch -f "$(pwd)/../../../.." git-credential-manager)"
sed -i -Ee "s/hash = \"sha256-[A-Za-z0-9=]{44}\"/hash = \"${hash}\"/" default.nix 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) $(nix-build ../../../.. -A git-credential-manager.fetch-deps --no-out-link)