From 47d236e730cde886dbc5aa2f193a78e2b20a508c Mon Sep 17 00:00:00 2001 From: Ashraf Hamad Date: Fri, 8 Mar 2019 12:11:36 -0800 Subject: [PATCH 1/2] Add 2019-02-01-preview tags for Ruby and Go readme files --- .../eventgrid/resource-manager/readme.go.md | 12 +++++++++++- .../eventgrid/resource-manager/readme.ruby.md | 13 ++++++++++++- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md index 43c4093c0602..4bef5f0c273f 100644 --- a/specification/eventgrid/resource-manager/readme.go.md +++ b/specification/eventgrid/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2019-02-preview - tag: package-2019-01 - tag: package-2018-09-preview - tag: package-2018-05-preview @@ -21,6 +22,15 @@ batch: - tag: package-2017-06-preview ``` +### Tag: package-2019-02-preview and go + +These settings apply only when `--tag=package-2019-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-02-01-preview/$(namespace) +``` + ### Tag: package-2019-01 and go These settings apply only when `--tag=package-2019-01 --go` is specified on the command line. @@ -73,4 +83,4 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-02-preview' && $(ruby) + +namespace: "Azure::EventGrid::Mgmt::V2019_02_01_preview" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib +``` + ### Tag: package-2019-01 and ruby These settings apply only when `--tag=package-2019-01 --ruby` is specified on the command line. @@ -78,4 +89,4 @@ Please also specify `--ruby-sdks-folder= Date: Fri, 8 Mar 2019 13:49:56 -0800 Subject: [PATCH 2/2] fix wrong preview subdirectory --- specification/eventgrid/resource-manager/readme.go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md index 4bef5f0c273f..fe14866459e2 100644 --- a/specification/eventgrid/resource-manager/readme.go.md +++ b/specification/eventgrid/resource-manager/readme.go.md @@ -28,7 +28,7 @@ These settings apply only when `--tag=package-2019-02-preview --go` is specified Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2019-02-preview' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-02-01-preview/$(namespace) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-01-preview/$(namespace) ``` ### Tag: package-2019-01 and go