-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- vscode-jest-test-adapter#84
- v2.11.79
- v2.11.74
- v2.11.72
- v2.10.72
- v2.10.69
- v2.10.66
- v2.10.37-alpha
- v2.10.22-alpha
- v2.9.116
- v2.9.112
- v2.9.109
- v2.9.91-alpha
- v2.9.87-alpha
- v2.9.71-alpha
- v2.9.47-alpha
- v2.9.45-alpha
- v2.8.65
- v2.8.61
- v2.8.57
- v2.8.54
- v2.8.50
- v2.8.46
- v2.8.22-alpha
- v2.7.74
- v2.7.62-alpha
- v2.6.81
- v2.6.78
- v2.6.77
- v2.6.37-alpha
Showing
2 changed files
with
118 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,103 @@ | ||
trigger: none # We only want to trigger manually or based on resources | ||
pr: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: CI | ||
source: Nerdbank.Streams | ||
trigger: | ||
tags: | ||
- auto-release | ||
|
||
stages: | ||
- stage: GitHubRelease | ||
displayName: GitHub Release | ||
jobs: | ||
- deployment: create | ||
pool: | ||
vmImage: ubuntu-latest | ||
environment: No-Approval | ||
strategy: | ||
runOnce: | ||
deploy: | ||
steps: | ||
- download: none | ||
- powershell: | | ||
Write-Host "##vso[build.updatebuildnumber]$(resources.pipeline.CI.runName)" | ||
displayName: Set pipeline name | ||
- task: GitHubRelease@1 | ||
displayName: GitHub release (create) | ||
inputs: | ||
gitHubConnection: GitHub AArnott | ||
repositoryName: $(Build.Repository.Name) | ||
target: $(resources.pipeline.CI.sourceCommit) | ||
tagSource: userSpecifiedTag | ||
tag: v$(resources.pipeline.CI.runName) | ||
title: v$(resources.pipeline.CI.runName) | ||
isDraft: true | ||
changeLogCompareToRelease: lastNonDraftRelease | ||
changeLogType: issueBased | ||
changeLogLabels: | | ||
[ | ||
{ "label" : "bug", "displayName" : "Fixes", "state" : "closed" }, | ||
{ "label" : "enhancement", "displayName": "Enhancements", "state" : "closed" } | ||
] | ||
- stage: nuget_org | ||
displayName: nuget.org | ||
dependsOn: GitHubRelease | ||
jobs: | ||
- deployment: push | ||
pool: | ||
vmImage: ubuntu-latest | ||
environment: No-Approval | ||
strategy: | ||
runOnce: | ||
deploy: | ||
steps: | ||
- download: CI | ||
artifact: deployables-Windows | ||
displayName: Download deployables-Windows artifact | ||
patterns: 'deployables-Windows/NuGet/*' | ||
- task: NuGetToolInstaller@1 | ||
displayName: Use NuGet 5.x | ||
inputs: | ||
versionSpec: 5.x | ||
- task: NuGetCommand@2 | ||
displayName: NuGet push | ||
inputs: | ||
command: push | ||
packagesToPush: $(Pipeline.Workspace)/CI/deployables-Windows/NuGet/*.nupkg | ||
nuGetFeedType: external | ||
publishFeedCredentials: nuget.org | ||
|
||
- stage: npmjs_org | ||
displayName: npmjs.org | ||
dependsOn: GitHubRelease | ||
jobs: | ||
- deployment: push | ||
pool: | ||
vmImage: ubuntu-latest | ||
environment: No-Approval | ||
strategy: | ||
runOnce: | ||
deploy: | ||
steps: | ||
- download: CI | ||
artifact: deployables-Windows | ||
displayName: Download deployables-Windows artifact | ||
patterns: 'deployables-Windows/npm/*' | ||
- powershell: | | ||
$tgz = (Get-ChildItem "$(Pipeline.Workspace)/CI/deployables-Windows/npm/*.tgz")[0].FullName | ||
npm init -y | ||
npm install $tgz | ||
workingDirectory: $(Agent.TempDirectory) | ||
displayName: Prepare to publish TGZ | ||
- task: Npm@1 | ||
displayName: npm publish | ||
inputs: | ||
command: publish | ||
workingDir: $(Agent.TempDirectory)/node_modules/nerdbank-streams | ||
verbose: false | ||
publishEndpoint: npmjs.org |
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