Skip to content

Commit

Permalink
Fix Mso repo publish command (#58)
Browse files Browse the repository at this point in the history
* Use origin/main branch to publish

* Change files
  • Loading branch information
vmoroz authored Feb 11, 2022
1 parent 7dfc05c commit 883f4ab
Show file tree
Hide file tree
Showing 4 changed files with 1,117 additions and 35 deletions.
4 changes: 2 additions & 2 deletions .ado/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ stages:
inputs:
script: |
call git config --global user.email "[email protected]"
call git config --global user.name "Skippy the Magnificent"
call git config --global user.name "Mso bot"
call git remote set-url origin [email protected]:microsoft/Mso.git
- script: yarn install --frozen-lockfile
displayName: Install yarn packages

- script: yarn run beachball publish --no-publish --message "Beachball Publish (no NPM) ***NO_CI***" --yes
- script: yarn run beachball publish --branch origin/main --no-publish --message "Beachball Publish (no NPM) ***NO_CI***" --yes
displayName: Beachball publish (no NPM)

- task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Use origin/main branch to publish",
"packageName": "@microsoft/mso",
"email": "[email protected]",
"dependentChangeType": "patch"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
},
"license": "MIT",
"devDependencies": {
"beachball": "1.23.3",
"clang-format": "1.4.0",
"husky": "^6.0.0"
"beachball": "2.21.0",
"clang-format": "1.6.0",
"husky": "7.0.4"
},
"resolutions": {
"lodash": "^4.17.21",
Expand Down
Loading

0 comments on commit 883f4ab

Please sign in to comment.