Skip to content

Commit

Permalink
chore: Activate new generation wrapper (googleapis#9148)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma authored Feb 11, 2022
1 parent 5d2b954 commit 22d89ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .toys/generate-updates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def setup_builds
def list_apis
return requested unless all
api_list = JSON.parse File.read "#{context_directory}/config/apis.json"
api_list.map { |entry| entry["name"] }.uniq.compact.shuffle
api_list.map { |entry| entry["publish"] == false ? nil : entry["name"] }.uniq.compact.shuffle
end

def handle_package api_name, index, total
Expand All @@ -82,7 +82,7 @@ def handle_package api_name, index, total
remote: git_remote,
branch_name: branch_name,
commit_message: commit_message,
labels: ["do not merge"],
labels: ["automerge"],
auto_approve: approval_message,
approval_token: approval_token do
generate_package api_name
Expand Down
1 change: 1 addition & 0 deletions config/apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,7 @@
{
"version": "v1beta1",
"url": "https://transcoder.googleapis.com/$discovery/rest?version=v1beta1",
"publish": false,
"name": "Transcoder"
},
{
Expand Down

0 comments on commit 22d89ce

Please sign in to comment.