forked from Azure/azure-sdk-for-js
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'test_repo_breaking_change_mlc' into remove-nvm-installa…
…tion-for-automation
- Loading branch information
Showing
1,271 changed files
with
25,574 additions
and
28,553 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
#!/usr/bin/env bash | ||
code-gen-pipeline --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.12 --typespecEmitter=@azure-tools/typespec-ts | ||
|
||
cd .. | ||
|
||
file_path="azure-rest-api-specs/.js/branch.txt" | ||
# Check if the file exists | ||
if [ -f "$file_path" ]; then | ||
# Load the content of the file into a variable | ||
branch=$(cat "$file_path") | ||
echo "get branch $branch" | ||
else | ||
echo "Branch file does not exist." | ||
fi | ||
|
||
git clone https://github.com/Azure/azure-sdk-tools/ | ||
|
||
cd azure-sdk-tools | ||
if [ -z "$branch" ]; then | ||
echo 'branch is empty' | ||
else | ||
git checkout -b test $branch | ||
echo git checkout -b test $branch | ||
fi | ||
|
||
echo '-------------- git status start' | ||
git status | ||
echo '-------------- git status end' | ||
|
||
cd tools/js-sdk-release-tools | ||
pnpm install | ||
pnpm run build | ||
cd ../../.. | ||
|
||
cd azure-sdk-for-js | ||
node ../azure-sdk-tools/tools/js-sdk-release-tools/dist/autoGenerateInPipeline.js --inputJsonPath=$1 --outputJsonPath=$2 --use=@autorest/typescript@^6.0.12 --typespecEmitter=@azure-tools/typespec-ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
npm install -g @azure-tools/typespec-client-generator-cli | ||
npm install -g @microsoft/rush@5.92.0 | ||
npm install -g @azure-tools/js-sdk-release-tools | ||
npm install -g pnpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.