Skip to content

Commit

Permalink
fix python sdk tag for 2024-04-01-preview version (#28900)
Browse files Browse the repository at this point in the history
* fix python sdk tag for 2024-04-01-preview version

* fix python config

---------

Co-authored-by: Bavneet Singh <bavneetsingh@microsoft.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
3 people authored Apr 30, 2024
1 parent b66ce85 commit b8af2fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ input-file:
- Microsoft.KubernetesConfiguration/stable/2023-05-01/operations.json
```

### Tag: package-preview-2024-04-only

These settings apply only when `--tag=package-preview-2024-04-only` is specified on the command line.

``` yaml $(tag) == 'package-preview-2024-04-only'
input-file:
- Microsoft.KubernetesConfiguration/preview/2024-04-01-preview/fluxconfiguration.json
```

### Tag: package-2023-05

These settings apply only when `--tag=package-2023-05` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Generate all API versions currently shipped for this package
```yaml $(python)
multiapi: true
default-api-version: "2024-04-01-preview"
default-api-version: "2023-05-01"
clear-output-folder: true
batch:
- tag: package-preview-2024-04
- tag: package-preview-2024-04-only
- tag: package-2023-05
- tag: package-2022-11
- tag: package-2022-07
Expand All @@ -47,11 +47,11 @@ clear-output-folder: false
perform-load: false
```
### Tag: package-preview-2024-04 and python
### Tag: package-preview-2024-04-only and python
These settings apply only when `--tag=package-preview-2024-04 --python` is specified on the command line.
These settings apply only when `--tag=package-preview-2024-04-only --python` is specified on the command line.

``` yaml $(tag) == 'package-preview-2022-04'
``` yaml $(tag) == 'package-preview-2024-04-only'
namespace: azure.mgmt.kubernetesconfiguration.v2024_04_01_preview
output-folder: $(python-sdks-folder)/kubernetesconfiguration/azure-mgmt-kubernetesconfiguration/azure/mgmt/kubernetesconfiguration/v2024_04_01_preview
```
Expand Down

0 comments on commit b8af2fc

Please sign in to comment.