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

Long/ri #1202

Merged
merged 64 commits into from
May 26, 2021
Merged

Long/ri #1202

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
f7b4a83
chore(release): publish detail
MSFT-yiz May 14, 2021
cd71645
fix: unify user cancel handling (#1038)
jayzhang May 14, 2021
a1ad8f2
docs(sdk): update API
LongOddCode May 14, 2021
c96ad3d
chore(core): formating core (#1040)
1yefuwang1 May 14, 2021
4b226fd
fix(solution): await setSubscription (#1053)
1yefuwang1 May 17, 2021
afcbefd
fix(cli): add support for confirm question with multiple options (#1055)
jiayi-ruan May 17, 2021
5e908a5
fix(vsc): format vscode (#1057)
1openwindow May 17, 2021
33063c0
docs: update sample app strings (#1048)
HuihuiWu-Microsoft May 17, 2021
6833757
Update Readme for release branch (#1047)
zhenyasav May 17, 2021
d8b7cdf
fix: download sample app to same folder will overwrite (#1060)
HuihuiWu-Microsoft May 17, 2021
fab2576
fix(env-checker): update the behavior when learn more link clicked (#…
qinezh May 17, 2021
519e10e
fix: no help/issure link (#1065)
Alive-Fish May 17, 2021
c9eba61
chore(release): publish detail
MSFT-yiz May 17, 2021
858f8c6
fix(local-debug): fix help doc typo (#1067)
kuojianlu May 17, 2021
9114db0
fix(appstudio): publish manual submit async (#1062)
jayzhang May 17, 2021
e84e166
fix: add getting started for cli readme (#1072)
chagong May 17, 2021
24f46a0
chore: bump simpleauth version to 0.1.0 (#1061)
blackchoey May 18, 2021
ad292db
fix: throw error when download samples to the folder twice (#1073)
Alive-Fish May 18, 2021
26af504
fix(env-checker): fix dotnet-not-installed error message for Linux in…
a1exwang May 18, 2021
eecde5b
fix(env-checker): correct the bookmark within help link (#1071)
qinezh May 18, 2021
6a5a737
fix(spfx): fix spfx cancel bug (#1074)
jiayi-ruan May 18, 2021
a2b1dc2
fix(solution): do not start provision for already provisioned state (…
jayzhang May 18, 2021
a1e637b
Fix: make login telemetry accurate for extension and CLI (#1051)
chagong May 18, 2021
ff63347
fix(vsc): only open preview readme (#1080)
1openwindow May 18, 2021
66c3ad5
chore: bump version of simple auth bits in simple auth plugin (#1075)
blackchoey May 18, 2021
8a52b25
fix: disable formatting for spfx scaffold template & revert to non-fo…
jiayi-ruan May 18, 2021
249977e
fix: remove faq plus sample app in extension sample gallery page (#1081)
HuihuiWu-Microsoft May 18, 2021
2fa16bb
fix(env-checker): update to 'Continue anyway' to reduce confusion (#1…
qinezh May 18, 2021
4288dd5
fix: update the order of samples in CLI (#1088)
Alive-Fish May 18, 2021
7deac0d
fix(solution): sane default value for developer fields when tab is no…
1yefuwang1 May 18, 2021
78b8a89
fix: invalid version and icons (#1089)
nliu-ms May 18, 2021
049d766
fix(local-debug): use solution setting to get active plugins (#1087)
kuojianlu May 18, 2021
b22c92c
feat(env-checker): fix missing env checker popup when run f5 from WSL…
meifans May 18, 2021
c544f26
fix: add app id to local debug telemetry (#1092)
swatDong May 18, 2021
1025f5a
fix(vsc): open sample readme (#1093)
1openwindow May 18, 2021
3bb534a
fix(vsc): update extension name same as toolkit v1 (#1095)
1openwindow May 18, 2021
95eeb13
chore(release): publish detail
MSFT-yiz May 18, 2021
ee2169d
fix: update toolkit survey link (#1096)
chagong May 19, 2021
150011e
fix: sample app download images broken (#1094)
HuihuiWu-Microsoft May 19, 2021
572cb69
fix(bot): bot name conflicts (#1098)
IvanJobs May 19, 2021
2dd5428
fix: use another method to check the error type (#1101)
Alive-Fish May 19, 2021
620a242
fix: toast message if user doesn't provision for spfx project before …
nliu-ms May 19, 2021
f6031d3
fix(core): do not readConfigs in progress of provision (#1103)
jayzhang May 19, 2021
7cee97e
docs(env-checker): update the notification message of help doc accord…
qinezh May 19, 2021
40de5fa
fix simply auth to simple auth (#1106)
MuyangAmigo May 19, 2021
ffe7a8b
Temp readme (#1108)
MuyangAmigo May 19, 2021
b6f5648
fix: show modal dialog for those that need user action (#1076)
HuihuiWu-Microsoft May 19, 2021
d904d5e
feat(solution): update manifest to v1.10 (#1109)
1yefuwang1 May 19, 2021
7cde8a3
Zhenya/readme5 (#1111)
zhenyasav May 19, 2021
e14a7f6
chore(release): publish detail
MSFT-yiz May 19, 2021
ccbf7fd
Add Preview Section In README (#1112)
MuyangAmigo May 19, 2021
da9c914
fix(solution): set manifest version to 1.9 (#1114)
1yefuwang1 May 20, 2021
4a67f12
chore(release): publish detail
MSFT-yiz May 20, 2021
cc49e24
fix(vsc): update vsc contribution guide (#1116)
1openwindow May 20, 2021
fffe552
fix: update aka link (#1126)
1openwindow May 20, 2021
d67e9c4
Fix CLI instructions (#1122)
MuyangAmigo May 20, 2021
90c9742
chore(release): publish detail
MSFT-yiz May 20, 2021
b6cf888
Update CHANGELOG.md (#1141)
sffamily May 21, 2021
8314c09
chore(release): publish detail
MSFT-yiz May 21, 2021
b386a9d
hotfix: skip join view when local debug (#1146)
swatDong May 22, 2021
51483cb
chore: update version in changelog for hotfix (#1147)
swatDong May 22, 2021
0b09cb3
feat: cd all in one (#1148)
LongOddCode May 22, 2021
ea20c20
chore(release): publish detail
MSFT-yiz May 22, 2021
c06018e
feat: add action to publish vsix file to vscode marketplace (#1154)
LongOddCode May 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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/setup-node@v2.1.2
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 'yiz@microsoft.com'

- 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