From bf124ba5d5d49ae1a94238746077c102e81d2aa1 Mon Sep 17 00:00:00 2001 From: Tunisiano187 Date: Sun, 14 Apr 2024 19:50:38 +0200 Subject: [PATCH] config git sooner --- scripts/Get-Package.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Get-Package.ps1 b/scripts/Get-Package.ps1 index 5cd72856c..e74c0c6d4 100644 --- a/scripts/Get-Package.ps1 +++ b/scripts/Get-Package.ps1 @@ -201,13 +201,13 @@ $toadd = (get-childitem -path $iconfolder).FullName foreach ($file in $toadd) { git add $file } +git config user.email "helpdesk.choc@gmail.com" +git config user.name "Tunisiano187" + git commit -m "Package download $packageName [skip ci]" try { - git config --global user.email "helpdesk.choc@gmail.com" - git config --global user.name "Tunisiano187" - git push } catch { write-output "nothing to push"