Skip to content

Commit ca281ce

Browse files
committed
Just make it print
1 parent 1eb74e5 commit ca281ce

File tree

1 file changed

+54
-46
lines changed

1 file changed

+54
-46
lines changed

azure-pipelines.release-publish.yml

+54-46
Original file line numberDiff line numberDiff line change
@@ -71,51 +71,59 @@ extends:
7171
pushd $(Pipeline.Workspace)/tgz
7272
ls -lhR
7373
mv typescript-*.tgz typescript.tgz
74-
- task: Npm@1
75-
displayName: npm publish tarball
74+
- task: CmdLine@2
75+
displayName: Rename versioned drop to typescript.tgz
7676
inputs:
77-
command: custom
78-
workingDir: $(Pipeline.Workspace)/tgz
79-
verbose: false
80-
customCommand: publish $(Pipeline.Workspace)/tgz/typescript.tgz --tag $(PUBLISH_TAG)
81-
# This must match the service connection.
82-
customEndpoint: Typescript NPM
83-
publishEndpoint: Typescript NPM
77+
script: |
78+
echo ${_REMINDER}
79+
echo ${PUBLISH_TAG}
80+
echo ${RELEASE_TITLE_NAME}
81+
echo ${TAG_NAME}
82+
# - task: Npm@1
83+
# displayName: npm publish tarball
84+
# inputs:
85+
# command: custom
86+
# workingDir: $(Pipeline.Workspace)/tgz
87+
# verbose: false
88+
# customCommand: publish $(Pipeline.Workspace)/tgz/typescript.tgz --tag $(PUBLISH_TAG)
89+
# # This must match the service connection.
90+
# customEndpoint: Typescript NPM
91+
# publishEndpoint: Typescript NPM
8492

85-
- stage: Stage_2
86-
displayName: Publish git tag
87-
dependsOn: Stage_1
88-
jobs:
89-
- job: Job_1
90-
displayName: Agent job
91-
condition: succeeded()
92-
timeoutInMinutes: 0
93-
templateContext:
94-
type: releaseJob
95-
isProduction: true
96-
inputs:
97-
- input: pipelineArtifact
98-
pipeline: 'tgz'
99-
artifactName: 'tgz'
100-
targetPath: '$(Pipeline.Workspace)/tgz'
101-
steps:
102-
- task: GitHubRelease@1
103-
displayName: GitHub release (create)
104-
inputs:
105-
# This must match the service connection.
106-
gitHubConnection: typescript-bot connection
107-
repositoryName: microsoft/TypeScript
108-
tagSource: userSpecifiedTag
109-
tag: $(TAG_NAME)
110-
title: TypeScript $(RELEASE_TITLE_NAME)
111-
releaseNotesSource: inline
112-
releaseNotesInline: |
113-
For release notes, check out the [release announcement]().
114-
For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
115-
For the complete list of fixed issues, check out the
116-
* [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+).
117-
Downloads are available on:
118-
* [npm](https://www.npmjs.com/package/typescript)
119-
assets: $(Pipeline.Workspace)/tgz/**/typescript-*.tgz
120-
isDraft: true
121-
addChangeLog: false
93+
# - stage: Stage_2
94+
# displayName: Publish git tag
95+
# dependsOn: Stage_1
96+
# jobs:
97+
# - job: Job_1
98+
# displayName: Agent job
99+
# condition: succeeded()
100+
# timeoutInMinutes: 0
101+
# templateContext:
102+
# type: releaseJob
103+
# isProduction: true
104+
# inputs:
105+
# - input: pipelineArtifact
106+
# pipeline: 'tgz'
107+
# artifactName: 'tgz'
108+
# targetPath: '$(Pipeline.Workspace)/tgz'
109+
# steps:
110+
# - task: GitHubRelease@1
111+
# displayName: GitHub release (create)
112+
# inputs:
113+
# # This must match the service connection.
114+
# gitHubConnection: typescript-bot connection
115+
# repositoryName: microsoft/TypeScript
116+
# tagSource: userSpecifiedTag
117+
# tag: $(TAG_NAME)
118+
# title: TypeScript $(RELEASE_TITLE_NAME)
119+
# releaseNotesSource: inline
120+
# releaseNotesInline: |
121+
# For release notes, check out the [release announcement]().
122+
# For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
123+
# For the complete list of fixed issues, check out the
124+
# * [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+).
125+
# Downloads are available on:
126+
# * [npm](https://www.npmjs.com/package/typescript)
127+
# assets: $(Pipeline.Workspace)/tgz/**/typescript-*.tgz
128+
# isDraft: true
129+
# addChangeLog: false

0 commit comments

Comments
 (0)