Update sign.ps1 script to include git pull command

This commit is contained in:
Mauro Baladés
2024-09-29 21:54:43 +03:00
parent 021e654202
commit 69093204b9

View File

@@ -5,6 +5,7 @@ param(
$ErrorActionPreference = "Stop"
echo "Preparing environment"
git pull --recurse-submodules
mkdir windsign-temp -ErrorAction SilentlyContinue
echo "Please UNZIP the generic and specific artifacts into windsign-temp"
@@ -93,6 +94,12 @@ function SignAndPackage($name) {
SignAndPackage specific
SignAndPackage generic
echo "All artifacts signed and packaged, ready for release!"
echo "Commiting the changes to the repository"
git add .\.github\workflows\object
git commit -m "Sign and package windows artifacts"
git push
# Cleaning up
echo "All done!"