From db9ce807157cb67033e969bd9fee704c4f207e1a Mon Sep 17 00:00:00 2001 From: mesheets <16882600+mesheets@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:06:09 -0500 Subject: [PATCH] Commit and push AppInfo.ini when auto-updated --- Update-PDFsamVersion.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Update-PDFsamVersion.ps1 b/Update-PDFsamVersion.ps1 index b49c401..3cd5a9b 100644 --- a/Update-PDFsamVersion.ps1 +++ b/Update-PDFsamVersion.ps1 @@ -88,6 +88,11 @@ else echo "Publish the new portable app release" [string]$releaseName = "{0} {1}" -f $appInfoContent["Details"]["Name"], $appInfoContent["Version"]["DisplayVersion"] gh release create "$latestSourceVersionTag" "$pafAppInstaller" --title $releaseName --notes $releaseName + + # Commit and push the updated AppInfo.ini file + echo "Commit and push the updated AppInfo.ini file" + git commit "$appInfoFile" + git push } catch {