Skip to content

Commit

Permalink
Azure Event Grid: Add 2019-02-01-preview tags for Ruby and Go readme …
Browse files Browse the repository at this point in the history
…files (#5349)

* Add 2019-02-01-preview tags for Ruby and Go readme files

* fix wrong preview subdirectory
  • Loading branch information
ahamad-MS authored and jianghaolu committed Mar 8, 2019
1 parent 33d17e2 commit 06d3f84
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
12 changes: 11 additions & 1 deletion specification/eventgrid/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2019-02-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(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.
Expand Down Expand Up @@ -73,4 +83,4 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s

``` yaml $(tag) == 'package-2017-06-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-06-15-preview/$(namespace)
```
```
13 changes: 12 additions & 1 deletion specification/eventgrid/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2019-02-preview
- tag: package-2019-01
- tag: package-2018-09-preview
- tag: package-2018-05-preview
Expand All @@ -20,6 +21,16 @@ batch:
- tag: package-2017-06-preview
```
### Tag: package-2019-02-preview and ruby
These settings apply only when `--tag=package-2019-02-preview --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

``` 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.
Expand Down Expand Up @@ -78,4 +89,4 @@ Please also specify `--ruby-sdks-folder=<path to the root directory of your azur
``` yaml $(tag) == 'package-2017-06-preview' && $(ruby)
namespace: "Azure::EventGrid::Mgmt::V2017_06_15_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib
```
```

0 comments on commit 06d3f84

Please sign in to comment.