Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post release automated changes for template releases #17071

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions sdk/template/template/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Release History

## 1.0.11-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 1.0.10-beta.1 (2020-11-16)

- Test Release Pipeline
Expand Down
2 changes: 1 addition & 1 deletion sdk/template/template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/template",
"version": "1.0.11-beta.1",
"version": "1.0.11-beta.2",
"description": "Example project for learning how to build a client library",
"sdk-type": "client",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion sdk/template/template/samples/v1/javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ These sample programs show how to use the JavaScript client libraries for Azure

## Prerequisites

The sample programs are compatible with Node.js >=12.0.0.
The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/).

You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs:

Expand Down
4 changes: 2 additions & 2 deletions sdk/template/template/samples/v1/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "1.0.0",
"description": "Azure Template client library samples for JavaScript",
"engine": {
"engines": {
"node": ">=12.0.0"
},
"repository": {
Expand All @@ -25,6 +25,6 @@
"dependencies": {
"@azure/template": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "2.0.0-beta.5"
}
}
4 changes: 2 additions & 2 deletions sdk/template/template/samples/v1/typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ These sample programs show how to use the TypeScript client libraries for Azure

## Prerequisites

The sample programs are compatible with Node.js >=12.0.0.
The sample programs are compatible with [LTS versions of Node.js](https://nodejs.org/about/releases/).

Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using:

Expand Down Expand Up @@ -45,7 +45,7 @@ npm run build
4. Run whichever samples you like (note that some samples may require additional setup, see the table above):

```bash
node dist/getConfigurationSetting.ts
node dist/getConfigurationSetting.js
```

Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform):
Expand Down
6 changes: 3 additions & 3 deletions sdk/template/template/samples/v1/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "1.0.0",
"description": "Azure Template client library samples for TypeScript",
"engine": {
"engines": {
"node": ">=12.0.0"
},
"scripts": {
Expand All @@ -29,10 +29,10 @@
"dependencies": {
"@azure/template": "next",
"dotenv": "latest",
"@azure/identity": "^1.1.0"
"@azure/identity": "2.0.0-beta.5"
},
"devDependencies": {
"typescript": "~4.1.2",
"typescript": "~4.2.0",
"rimraf": "latest"
}
}
7 changes: 5 additions & 2 deletions sdk/template/template/samples/v1/typescript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"compilerOptions": {
"target": "ES6",
"target": "ES2018",
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"alwaysStrict": true,
"outDir": "dist",
"rootDir": "src"
},
"include": ["src/**.ts"]
"include": [
"src/**.ts"
]
}
2 changes: 1 addition & 1 deletion sdk/template/template/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

export const SDK_VERSION: string = "1.0.11-beta.1";
export const SDK_VERSION: string = "1.0.11-beta.2";
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { GeneratedClientOptionalParams } from "./models";

const packageName = "@azure/template";
const packageVersion = "1.0.11-beta.1";
const packageVersion = "1.0.11-beta.2";

/** @hidden */
export class GeneratedClientContext extends coreHttp.ServiceClient {
Expand Down