Skip to content
Merged
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 21 additions & 12 deletions azure-pipelines.release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@ pr: none

parameters:
- name: _REMINDER
default: Review & undraft the release at https://github.com/microsoft/TypeScript/releases once it appears!
displayName: Review & undraft the release at https://github.com/microsoft/TypeScript/releases once it appears!
type: boolean
default: true
- name: PUBLISH_TAG
displayName: npm publish tag
default: dev
values:
- dev
- beta
- rc
- latest
- name: RELEASE_TITLE_NAME
displayName: GitHub release title name
default: 0.0.0 Test
- name: TAG_NAME
displayName: Git tag name
default: v0.0.0-SetMe

variables:
Expand Down Expand Up @@ -47,11 +57,11 @@ extends:
os: windows

stages:
- stage: Stage_1
displayName: Publish tarball
- stage: Publish
displayName: Publish
jobs:
- job: Job_1
displayName: Agent job
- job: tarball
displayName: Publish tarball
condition: succeeded()
timeoutInMinutes: 0
templateContext:
Expand Down Expand Up @@ -83,12 +93,9 @@ extends:
customEndpoint: Typescript NPM
publishEndpoint: Typescript NPM

- stage: Stage_2
displayName: Publish git tag
dependsOn: Stage_1
jobs:
- job: Job_1
displayName: Agent job
- job: github
displayName: Create github release
dependsOn: tarball
condition: succeeded()
timeoutInMinutes: 0
templateContext:
Expand All @@ -112,12 +119,14 @@ extends:
title: TypeScript $(RELEASE_TITLE_NAME)
releaseNotesSource: inline
releaseNotesInline: |
<!---
For release notes, check out the [release announcement]().
For new features, check out the [What's new in TypeScript $(TAG_NAME)]().
For the complete list of fixed issues, check out the
* [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+).
Downloads are available on:
* [npm](https://www.npmjs.com/package/typescript)
-->
assets: $(Pipeline.Workspace)/tgz/**/typescript-*.tgz
Comment thread
jakebailey marked this conversation as resolved.
isDraft: true
isDraft: ${{ eq(parameters.PUBLISH_TAG, 'latest') }}
Comment thread
jakebailey marked this conversation as resolved.
Outdated
addChangeLog: false