Skip to content

Commit

Permalink
Merge pull request #616 from nagilson/nagilson-yarn-pack-publish
Browse files Browse the repository at this point in the history
Restore Packing/Publishing the Extension to a Working State
  • Loading branch information
nagilson authored Oct 10, 2022
2 parents ef572f9 + a31ffdb commit ca28ef7
Show file tree
Hide file tree
Showing 10 changed files with 9,118 additions and 230 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ stages:
dependsOn:
- Build
- TSLint
condition: and(succeeded(), notin(variables['Build.Reason'], 'PullRequest'))
condition: succeeded()
pool:
vmImage: 'windows-latest'
strategy:
Expand Down Expand Up @@ -114,7 +114,7 @@ stages:
workingDirectory: $(dir-name)
- bash: |
npm install rimraf --verbose
npm install vsce --verbose
npm install vsce -g --verbose
vsce package -o $(package-name)-$(GetVersion.version).vsix --ignoreFile ../.vscodeignore --yarn
displayName: Package Artifact
workingDirectory: $(dir-name)
Expand Down Expand Up @@ -178,7 +178,7 @@ stages:
versionSpec: '15.x'
displayName: 'Install Node.js'
- bash: |
npm install vsce --verbose
npm install vsce -g --verbose
vsce publish --packagePath vscode-dotnet-runtime-$(version).vsix -p $(VSCODE_MARKETPLACE_TOKEN)
displayName: 'Publish to Marketplace'
workingDirectory: '$(System.ArtifactsDirectory)/vscode-dotnet-runtime-extension'
Expand Down Expand Up @@ -231,7 +231,7 @@ stages:
versionSpec: '15.x'
displayName: 'Install Node.js'
- bash: |
npm install vsce --verbose
npm install vsce -g --verbose
vsce publish --packagePath vscode-dotnet-sdk-$(version).vsix -p $(VSCODE_MARKETPLACE_TOKEN)
displayName: 'Publish to Marketplace'
workingDirectory: '$(System.ArtifactsDirectory)/vscode-dotnet-sdk-extension'
Loading

0 comments on commit ca28ef7

Please sign in to comment.