@@ -72,60 +72,52 @@ extends:
7272 pushd $(Pipeline.Workspace)/tgz
7373 ls -lhR
7474 mv typescript-*.tgz typescript.tgz
75- - task : CmdLine@2
76- displayName : Rename versioned drop to typescript.tgz
75+ - task : Npm@1
76+ displayName : npm publish tarball
7777 inputs :
78- script : |
79- echo ${_REMINDER}
80- echo ${PUBLISH_TAG}
81- echo ${RELEASE_TITLE_NAME}
82- echo ${TAG_NAME}
83- # - task: Npm@1
84- # displayName: npm publish tarball
85- # inputs:
86- # command: custom
87- # workingDir: $(Pipeline.Workspace)/tgz
88- # verbose: false
89- # customCommand: publish $(Pipeline.Workspace)/tgz/typescript.tgz --tag $(PUBLISH_TAG)
90- # # This must match the service connection.
91- # customEndpoint: Typescript NPM
92- # publishEndpoint: Typescript NPM
78+ command : custom
79+ workingDir : $(Pipeline.Workspace)/tgz
80+ verbose : false
81+ customCommand : publish $(Pipeline.Workspace)/tgz/typescript.tgz --tag $(PUBLISH_TAG)
82+ # This must match the service connection.
83+ customEndpoint : Typescript NPM
84+ publishEndpoint : Typescript NPM
9385
94- # - stage: Stage_2
95- # displayName: Publish git tag
96- # dependsOn: Stage_1
97- # jobs:
98- # - job: Job_1
99- # displayName: Agent job
100- # condition: succeeded()
101- # timeoutInMinutes: 0
102- # templateContext:
103- # type: releaseJob
104- # isProduction: true
105- # inputs:
106- # - input: pipelineArtifact
107- # pipeline: 'tgz'
108- # artifactName: 'tgz'
109- # targetPath: '$(Pipeline.Workspace)/tgz'
110- # steps:
111- # - checkout: none
112- # - task: GitHubRelease@1
113- # displayName: GitHub release (create)
114- # inputs:
115- # # This must match the service connection.
116- # gitHubConnection: typescript-bot connection
117- # repositoryName: microsoft/TypeScript
118- # tagSource: userSpecifiedTag
119- # tag: $(TAG_NAME)
120- # title: TypeScript $(RELEASE_TITLE_NAME)
121- # releaseNotesSource: inline
122- # releaseNotesInline: |
123- # For release notes, check out the [release announcement]().
124- # For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
125- # For the complete list of fixed issues, check out the
126- # * [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+).
127- # Downloads are available on:
128- # * [npm](https://www.npmjs.com/package/typescript)
129- # assets: $(Pipeline.Workspace)/tgz/**/typescript-*.tgz
130- # isDraft: true
131- # addChangeLog: false
86+ - stage : Stage_2
87+ displayName : Publish git tag
88+ dependsOn : Stage_1
89+ jobs :
90+ - job : Job_1
91+ displayName : Agent job
92+ condition : succeeded()
93+ timeoutInMinutes : 0
94+ templateContext :
95+ type : releaseJob
96+ isProduction : true
97+ inputs :
98+ - input : pipelineArtifact
99+ pipeline : ' tgz'
100+ artifactName : ' tgz'
101+ targetPath : ' $(Pipeline.Workspace)/tgz'
102+ steps :
103+ - checkout : none
104+ - task : GitHubRelease@1
105+ displayName : GitHub release (create)
106+ inputs :
107+ # This must match the service connection.
108+ gitHubConnection : typescript-bot connection
109+ repositoryName : microsoft/TypeScript
110+ tagSource : userSpecifiedTag
111+ tag : $(TAG_NAME)
112+ title : TypeScript $(RELEASE_TITLE_NAME)
113+ releaseNotesSource : inline
114+ releaseNotesInline : |
115+ For release notes, check out the [release announcement]().
116+ For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
117+ For the complete list of fixed issues, check out the
118+ * [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+).
119+ Downloads are available on:
120+ * [npm](https://www.npmjs.com/package/typescript)
121+ assets : $(Pipeline.Workspace)/tgz/**/typescript-*.tgz
122+ isDraft : true
123+ addChangeLog : false
0 commit comments