Skip to content

Commit

Permalink
chore: fix discogen (#2138)
Browse files Browse the repository at this point in the history
From our logs:

go build -o google-api-go-generator
error obtaining VCS status: exit status 128
	Use -buildvcs=false to disable VCS stamping.
unable to generate discovery clients: exit status 2
  • Loading branch information
codyoss authored Sep 7, 2023
1 parent 76be4a6 commit 44a2679
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/kokoro/discogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export GITHUB_ACCESS_TOKEN=$(cat $KOKORO_KEYSTORE_DIR/73713_yoshi-automation-git
# Display commands being run
set -x

# Needed for our build environment
go env -w GOFLAGS="-buildvcs=false"

# cd to project dir on Kokoro instance
cd github/google-api-go-client
export DISCOVERY_DIR=$(pwd)
Expand Down

0 comments on commit 44a2679

Please sign in to comment.