1
1
trigger : none
2
2
pr : none
3
3
4
+ parameters :
5
+ - name : _REMINDER
6
+ default : Review & undraft the release at https://github.com/microsoft/TypeScript/releases once it appears!
7
+ - name : PUBLISH_TAG
8
+ default : dev
9
+ - name : RELEASE_TITLE_NAME
10
+ default : 0.0.0 Test
11
+ - name : TAG_NAME
12
+ default : v0.0.0-SetMe
13
+
4
14
variables :
5
15
- name : _REMINDER
6
- value : Review & undraft the release at https://github.com/microsoft/TypeScript/releases once it appears!
16
+ value : ${{ parameters._REMINDER }}
7
17
- name : PUBLISH_TAG
8
- value : dev
18
+ value : ${{ parameters.PUBLISH_TAG }}
9
19
- name : RELEASE_TITLE_NAME
10
- value : 0.0.0 Test
20
+ value : ${{ parameters.RELEASE_TITLE_NAME }}
11
21
- name : TAG_NAME
12
- value : v0.0.0-SetMe
22
+ value : ${{ parameters.TAG_NAME }}
13
23
14
24
resources :
15
25
pipelines :
@@ -54,6 +64,7 @@ extends:
54
64
artifactName : ' tgz'
55
65
targetPath : ' $(Pipeline.Workspace)/tgz'
56
66
steps :
67
+ - checkout : none
57
68
- task : CmdLine@2
58
69
displayName : Rename versioned drop to typescript.tgz
59
70
inputs :
@@ -68,6 +79,7 @@ extends:
68
79
workingDir : $(Pipeline.Workspace)/tgz
69
80
verbose : false
70
81
customCommand : publish $(Pipeline.Workspace)/tgz/typescript.tgz --tag $(PUBLISH_TAG)
82
+ # This must match the service connection.
71
83
customEndpoint : Typescript NPM
72
84
publishEndpoint : Typescript NPM
73
85
@@ -88,9 +100,11 @@ extends:
88
100
artifactName : ' tgz'
89
101
targetPath : ' $(Pipeline.Workspace)/tgz'
90
102
steps :
103
+ - checkout : none
91
104
- task : GitHubRelease@1
92
105
displayName : GitHub release (create)
93
106
inputs :
107
+ # This must match the service connection.
94
108
gitHubConnection : typescript-bot connection
95
109
repositoryName : microsoft/TypeScript
96
110
tagSource : userSpecifiedTag
@@ -101,7 +115,7 @@ extends:
101
115
For release notes, check out the [release announcement]().
102
116
For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
103
117
For the complete list of fixed issues, check out the
104
- * [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+).
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+).
105
119
Downloads are available on:
106
120
* [npm](https://www.npmjs.com/package/typescript)
107
121
assets : $(Pipeline.Workspace)/tgz/**/typescript-*.tgz
0 commit comments