From 0c92ab2fe2f6fe92f71be9f20e0fcde11ae62984 Mon Sep 17 00:00:00 2001 From: hnrkndrssn Date: Fri, 30 Sep 2022 17:40:21 +1000 Subject: [PATCH] fix: Add changed file before calling commit --- .octopus/deployment_process.ocl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.octopus/deployment_process.ocl b/.octopus/deployment_process.ocl index 25a0d137..b9114048 100644 --- a/.octopus/deployment_process.ocl +++ b/.octopus/deployment_process.ocl @@ -102,7 +102,7 @@ step "push-homebrew-formula-updates-to-the-homebrew-taps-repo" { Copy-Item -Path "$extractedPath/*" -Filter "*.rb" -Destination "." -Force - git diff-index --quiet HEAD || (git commit -m "Update for release $packageVersion" ` + git diff-index --quiet HEAD || (git commit -a -m "Update for release $packageVersion" ` && git push --repo $origin --set-upstream origin $branchName ` )