From a327f59b8f7b401d33869baae8aa6a3a77082ad0 Mon Sep 17 00:00:00 2001 From: Amanda Tarafa Mas <14878252+amanda-tarafa@users.noreply.github.com> Date: Thu, 17 Aug 2023 12:35:10 -0700 Subject: [PATCH] ci: Allow skipdownload to only generate changes This effectively rollsback https://github.com/googleapis/google-api-dotnet-client/pull/2496/commits/6611c9691157e4aea277e514623f4bb0f99f3a37 to allow for the use case where: - We first download. - We revert changes that are not relevant for generation, like revision only changes. - We generate what remains. For instance, the latest release took a long time because it generated and attempted to push everything. No harm done as Nuget won't allow pushing the same package twice, but it is still clearer (for diagnosing failed releases and for quota purposes) to only generate and push what has changed. --- BuildGenerated.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/BuildGenerated.sh b/BuildGenerated.sh index 9ade74d4d37..f0add5bd573 100755 --- a/BuildGenerated.sh +++ b/BuildGenerated.sh @@ -30,7 +30,6 @@ while [[ $# -gt 0 ]]; do case $key in --skipdownload) SKIPDOWNLOAD=TRUE - GENERATE_CHANGES_ONLY=FALSE ;; --skiprevert) SKIPREVERT=TRUE