Skip to content

Commit

Permalink
introduce a new tag to keep the go sdk package unchanged
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang committed Jan 13, 2021
1 parent 3cd5abd commit 8f58d34
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
10 changes: 5 additions & 5 deletions specification/reservations/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-10-25
- tag: package-2020-10-25-stable
- tag: package-preview-2019-07-19
- tag: package-preview-2019-04
- tag: package-2018-06
- tag: package-2017-11
```
### Tag: package-2020-10-25 and go
### Tag: package-2020-10-25-stable and go
These settings apply only when `--tag=package-2020-10-25 --go` is specified on the command line.
These settings apply only when `--tag=package-2020-10-25-stable --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-2020-10-25' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-10-25/$(namespace)
``` yaml $(tag)=='package-2020-10-25-stable' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-10-25/$(namespace)
```

### Tag: package-preview-2019-07-19 and go
Expand Down
10 changes: 10 additions & 0 deletions specification/reservations/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ input-file:
- Microsoft.Capacity/stable/2020-10-25/quota.json
```

### Tag: package-2020-10-25-stable

These settings apply only when `--tag=package-2020-10-25-stable` is specified on the command line.

``` yaml $(tag) == 'package-2020-10-25-stable'
input-file:
- Microsoft.Capacity/stable/2017-11-01/reservations.json
- Microsoft.Capacity/stable/2020-10-25/quota.json
```

### Tag: package-2020-11-preview

These settings apply only when `--tag=package-2020-11-preview` is specified on the command line.
Expand Down

0 comments on commit 8f58d34

Please sign in to comment.