Skip to content

Commit

Permalink
Long/ri (#1202)
Browse files Browse the repository at this point in the history
* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* fix: unify user cancel handling (#1038)

* fix: unify user cancel handling

* fix: update sdk test

Co-authored-by: Long Hao <[email protected]>

* docs(sdk): update API

Signed-off-by: GitHub Actions <[email protected]>

* chore(core): formating core (#1040)

* fix(solution): await setSubscription (#1053)

* fix(cli): add support for confirm question with multiple options (#1055)

* fix(vsc): format vscode (#1057)

* docs: update sample app strings (#1048)

* docs: update sample app strings

* docs: update cli sample app strings

* Update Readme for release branch (#1047)

* fix: readmes for bots and msg exts

* fix: readmes for messaging extensions

* fix: tab readmes

* fix: readmes for functions

* fix: download sample app to same folder will overwrite (#1060)

* fix(env-checker): update the behavior when learn more link clicked (#1059)

* fix: no help/issure link (#1065)

Co-authored-by: Zhiyu You <[email protected]>

* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* fix(local-debug): fix help doc typo (#1067)

Teams capacity -> Teams capability

* fix(appstudio): publish manual submit async (#1062)

* fix: add getting started for cli readme (#1072)

* chore: bump simpleauth version to 0.1.0 (#1061)

* chore: bump simpleauth version to 0.1.0

* chore: trigger CI for all pull requests

* fix: throw error when download samples to the folder twice (#1073)

Co-authored-by: Zhiyu You <[email protected]>

* fix(env-checker): fix dotnet-not-installed error message for Linux in function plugin (#1070)

* fix(env-checker): fix dotnet not installed error message for Linux in function plugin

* chore(env-checker): copy common to extension

* fix: fix a typo

* fix(env-checker): correct the bookmark within help link (#1071)

* fix(spfx): fix spfx cancel bug (#1074)

* fix(solution): do not start provision for already provisioned state (#1078)

* fix(solution): already provisioned handle

* fix: revert lock

* Fix: make login telemetry accurate for extension and CLI (#1051)

* fix: fix login telemetry

* fix: fix login telemetry result

* fix: fix extension login telemetry

* fix: fix login telemetry for exention and cli

* fix: fix unsed const

* fix: fix account name for appstudio

* fix(vsc): only open preview readme (#1080)

* chore: bump version of simple auth bits in simple auth plugin (#1075)

* chore: bump version of simple auth bits in simple auth plugin

* chore: bump version of simple auth in sdk tests

* chore: revert changes to sdk integration test

* fix: disable formatting for spfx scaffold template & revert to non-format one (#1082)

* fix: remove faq plus sample app in extension sample gallery page (#1081)

* fix: remove faq plus app in extension

* feat: reorder sample apps in cmd

* fix(env-checker): update to 'Continue anyway' to reduce confusion (#1086)

* fix: update the order of samples in CLI (#1088)

Co-authored-by: Zhiyu You <[email protected]>

* fix(solution): sane default value for developer fields when tab is not activated (#1090)

* fix: invalid version and icons  (#1089)

* fix: update default version for spfx

* fix: update icons to meet the requirements

* fix(local-debug): use solution setting to get active plugins (#1087)

* feat(env-checker): fix missing env checker popup when run f5 from WSL (#1085)

* feat: fix missing env checker popup when run f5 from WSL

* fix: remove opn in vscode-extension

* fix: use await

* fix: update package-lock.json

* chore: regen lock files

Co-authored-by: LongOddCode <[email protected]>

* fix: add app id to local debug telemetry (#1092)

* fix: add app id to local debug telemetry

* fix: add local debug app id

* fix(vsc): open sample readme (#1093)

* fix(vsc): only open preview readme

* fix(vsc): open sample readme

* fix(vsc): update extension name same as toolkit v1 (#1095)

* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* fix: update toolkit survey link (#1096)

* fix: update toolkit survey link

* fix: remove comments

* fix: sample app download images broken (#1094)

* fix: sample app download images broken

* fix: cLI download samples

Co-authored-by: Zhiyu You <[email protected]>

* fix(bot): bot name conflicts (#1098)

* fix(bot): add specific error message for bot name conflicts

* chore(bot): add log for manually updating message endpoint

* chore(bot): refine error design, name, reduce duplicated code

* fix: use another method to check the error type (#1101)

Co-authored-by: Zhiyu You <[email protected]>

* fix: toast message if user doesn't provision for spfx project before publish (#1105)

* fix(core): do not readConfigs in progress of provision (#1103)

* fix(core): do not readConfigs in progress of provision

* fix(core): await sleep

* docs(env-checker): update the notification message of help doc according to the latest changes (#1100)

* fix simply auth to simple auth (#1106)

Co-authored-by: Junjie Li <[email protected]>

* Temp readme (#1108)

* README Clean Up

* Adjust the validate/build order

Co-authored-by: Junjie Li <[email protected]>

* fix: show modal dialog for those that need user action (#1076)

* fix: show modal dialog for those that need user action

* fix(cli): update cli interface

* fix: cli cancel provision not work

* fix(spfx): toast message still wait for user input

* feat: show error notification if deploy or publish before provision

* docs: change to 'pricing calculator'

Co-authored-by: Jiayi Ruan <[email protected]>
Co-authored-by: Zihong Chen <[email protected]>

* feat(solution): update manifest to v1.10 (#1109)

* Zhenya/readme5 (#1111)

* fix(readmes): remove code of conduct in template folders

* fix: support.md

* fix: viewport directives for tabS

* fix: remove vscode specific telemetry statement

* fix: add section describing manifest to all template readmes

* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* Add Preview Section In README (#1112)

Co-authored-by: Junjie Li <[email protected]>

* fix(solution): set manifest version to 1.9 (#1114)

* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* fix(vsc): update vsc contribution guide (#1116)

* fix: update aka link (#1126)

* fix: update aka link

* fix: update aka link in vsc readme

* Fix CLI instructions (#1122)

* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* Update CHANGELOG.md (#1141)

recreate PR as collaborator

* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* hotfix: skip join view when local debug (#1146)

* fix: skip join view when local debug

* chore: remove unused comment

* chore: update version in changelog for hotfix (#1147)

* chore: update version in changelog

* chore: revert empty lines change

* feat: cd all in one (#1148)

* feat: cd all in one

* fix: use empty as default value of cd pipeline

* feat: add sleep before pack visc

* chore(release): publish detail

 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - @microsoft/[email protected]
 - [email protected]

* feat: add action to publish vsix file to vscode marketplace (#1154)

* feat: add action to publish vsix file to vscode marketplace

* fix: use wget build-in retry param

* fix: sync sdk version

Co-authored-by: MSFT-yiz <[email protected]>
Co-authored-by: Huajie Zhang <[email protected]>
Co-authored-by: LongOddCode <[email protected]>
Co-authored-by: WANG YEFU <[email protected]>
Co-authored-by: jiayi-ruan <[email protected]>
Co-authored-by: Zihong <[email protected]>
Co-authored-by: HuihuiWu-Microsoft <[email protected]>
Co-authored-by: Zhenya <[email protected]>
Co-authored-by: qinezh <[email protected]>
Co-authored-by: Alive-Fish <[email protected]>
Co-authored-by: Zhiyu You <[email protected]>
Co-authored-by: Kuojian Lu <[email protected]>
Co-authored-by: chagong <[email protected]>
Co-authored-by: Chaoyi Yuan <[email protected]>
Co-authored-by: Alex Wang <[email protected]>
Co-authored-by: Ning Liu <[email protected]>
Co-authored-by: Meifans Zhao <[email protected]>
Co-authored-by: Qianhao Dong <[email protected]>
Co-authored-by: Ivan Jobs <[email protected]>
Co-authored-by: Junjie Li <[email protected]>
Co-authored-by: Junjie Li <[email protected]>
Co-authored-by: Jiayi Ruan <[email protected]>
Co-authored-by: Zhidi Shang <[email protected]>
  • Loading branch information
1 parent 519d0cf commit ca14487
Show file tree
Hide file tree
Showing 324 changed files with 17,562 additions and 17,483 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/FunctionExtensionCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:
paths:
- 'packages/function-extension/**'
branches: [ main ]
workflow_dispatch:

defaults:
run:
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/bump-release.yml

This file was deleted.

116 changes: 116 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
name: cd

on:
workflow_dispatch:
inputs:
version:
description: 'which version to bump(major, minor, patch, premajor, preminor, prepatch, prerelease)'
required: true
default: 'prerelease'
force:
description: 'force release even if no update(set --force-publish if necessary)'
required: false
default: ''

jobs:
cd:
runs-on: ubuntu-latest

steps:
- name: Checkout dev branch
if: ${{ github.event_name == 'schedule' }}
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.CD_PAT }}
ref: dev

- name: Checkout release branch
if: ${{ github.event_name != 'schedule' }}
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.CD_PAT }}
ref: ${{ github.ref }}

- name: Setup node
uses: actions/[email protected]
with:
node-version: 14

- name: Setup npm registry
run: |
echo "${{ secrets.NPMRC }}" > ~/.npmrc
- name: Download Simple Auth bits
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 10
retry_on: error
shell: pwsh
command: |
$version=Get-Content packages/fx-core/templates/plugins/resource/simpleauth/version.txt
$tag = "simpleauth@"+$version
$fileName="Microsoft.TeamsFx.SimpleAuth_$version.zip"
$url = "https://github.com/OfficeDev/TeamsFx/releases/download/"+$tag+"/"+$fileName
Invoke-WebRequest $url -OutFile packages/fx-core/templates/plugins/resource/simpleauth/SimpleAuth.zip
- name: Setup project
run: |
npm run setup
- name: Setup git
run: |
git config --global user.name 'MSFT-yiz'
git config --global user.email '[email protected]'
- name: check whether vscode extension changed or not
id: extension-checker
run: |
if npx lerna changed | grep 'ms-teams-vscode-extension';
then
echo "::set-output name=CHANGED::true"
else
echo "::set-output name=CHANGED::false"
fi
- name: release daily npm packages to npmjs.org
if: ${{ github.ref == 'refs/heads/dev' && startsWith(github.event.inputs.version, 'pre') }}
run: |
npx lerna publish --no-private --preid=alpha --dist-tag=alpha ${{ github.event.inputs.version }} --yes ${{ github.event.inputs.force }}
- name: release rc npm packages to npmjs.org
if: ${{ startsWith(github.ref, 'refs/heads/release/') && github.event.inputs.version == 'prerelease' }}
run: |
npx lerna publish --no-private --preid=rc --dist-tag=rc prerelease --yes ${{ github.event.inputs.force }}
- name: release stable npm packages to npmjs.org
if: ${{ startsWith(github.ref, 'refs/heads/release/') && !startsWith(github.event.inputs.version, 'pre') }}
run: |
npx lerna publish --no-private --dist-tag=latest ${{ github.event.inputs.version }} --yes ${{ github.event.inputs.force }}
- name: pack vsix
id: pack-vsix
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 10
retry_on: error
command: |
sleep 5
cd ./packages/vscode-extension
npm install
npx vsce package
VERSION=`ls *.vsix | awk -F '.vsix' '{print $1}'`
echo "::set-output name=VERSION::$VERSION"
- name: release VSCode extension to github
if: ${{ steps.extension-checker.outputs.CHANGED == 'true' || github.event.inputs.force == '--force-publish' }}
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.CD_PAT }}
prerelease: true
automatic_release_tag: ${{ steps.pack-vsix.outputs.VERSION }}
files: |
./packages/**/*.vsix
75 changes: 0 additions & 75 deletions .github/workflows/daily-release.yml

This file was deleted.

98 changes: 0 additions & 98 deletions .github/workflows/rc-release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/simpleauthCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:
paths:
- 'packages/simpleauth/**'
branches: [ main ]
workflow_dispatch:

defaults:
run:
Expand Down
Loading

0 comments on commit ca14487

Please sign in to comment.