Skip to content

Commit 2e4e1fd

Browse files
committed
Corrections
1 parent eefd17b commit 2e4e1fd

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

azure-pipelines.release-publish.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,32 +44,29 @@ extends:
4444
condition: succeeded()
4545
timeoutInMinutes: 0
4646
templateContext:
47+
templateContext:
48+
type: releaseJob
49+
isProduction: true
4750
inputs:
4851
- input: pipelineArtifact
4952
pipeline: 'tgz'
5053
artifactName: 'tgz'
5154
targetPath: '$(Pipeline.Workspace)/tgz'
52-
- input: pipelineArtifact
53-
displayName: 'Download Pipeline Artifact'
54-
project: cf7ac146-d525-443c-b23c-0d58337efebc
55-
definition: 20
56-
artifactName: tgz
57-
itemPattern: '**/typescript-*.tgz'
5855
steps:
5956
- task: CmdLine@2
6057
displayName: Rename versioned drop to typescript.tgz
6158
inputs:
62-
script: |-
63-
pushd $(System.ArtifactsDirectory)
59+
script: |
60+
pushd $(Pipeline.Workspace)/tgz
6461
ls -lhR
6562
mv typescript-*.tgz typescript.tgz
6663
- task: Npm@1
6764
displayName: npm publish tarball
6865
inputs:
6966
command: custom
70-
workingDir: $(System.ArtifactsDirectory)
67+
workingDir: $(Pipeline.Workspace)/tgz
7168
verbose: false
72-
customCommand: publish $(System.ArtifactsDirectory)/typescript.tgz --tag $(PUBLISH_TAG)
69+
customCommand: publish $(Pipeline.Workspace)/tgz/typescript.tgz --tag $(PUBLISH_TAG)
7370
customEndpoint: Typescript NPM
7471
publishEndpoint: Typescript NPM
7572

@@ -99,13 +96,13 @@ extends:
9996
tag: $(TAG_NAME)
10097
title: TypeScript $(RELEASE_TITLE_NAME)
10198
releaseNotesSource: inline
102-
releaseNotes: |-
99+
releaseNotesInline: |
103100
For release notes, check out the [release announcement]().
104-
For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
101+
For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
105102
For the complete list of fixed issues, check out the
106103
* [fixed issues query for Typescript $(TAG_NAME)](https://github.com/microsoft/TypeScript/issues?utf8=%E2%9C%93&q=is%3Aissue+milestone%3A%22TypeScript+3.3%22+is%3Aclosed+).
107104
Downloads are available on:
108105
* [npm](https://www.npmjs.com/package/typescript)
109-
assets: $(System.ArtifactsDirectory)/**/typescript-*.tgz
106+
assets: $(Pipeline.Workspace)/tgz/**/typescript-*.tgz
110107
isDraft: true
111108
addChangeLog: false

0 commit comments

Comments
 (0)