disable release step to avoid releasing this

This commit is contained in:
Mazen El-Kashef 2020-02-20 11:40:58 -05:00
parent 6e16553799
commit a0cabdaade

View File

@ -15,45 +15,46 @@ jobs:
- template: platforms/macos.yml
- template: platforms/linux.yml
- job: Release
pool:
vmImage: vs2015-win2012r2 # needed for Python 2.7 and gyp
dependsOn:
- GetReleaseVersion
- Windows
- Linux
- macOS_tests
variables:
ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
steps:
- task: NodeTool@0
inputs:
versionSpec: 10.2.1
displayName: Install Node.js 10.2.1
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm install` completes.
- script: |
cd script\vsts
npm install
displayName: npm install
- task: DownloadBuildArtifacts@0
inputs:
itemPattern: '**'
downloadType: 'specific'
displayName: Download Release Artifacts
- script: |
node $(Build.SourcesDirectory)\script\vsts\upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom"
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
ATOM_RELEASE_VERSION: $(ReleaseVersion)
ATOM_RELEASES_S3_KEY: $(ATOM_RELEASES_S3_KEY)
ATOM_RELEASES_S3_SECRET: $(ATOM_RELEASES_S3_SECRET)
ATOM_RELEASES_S3_BUCKET: $(ATOM_RELEASES_S3_BUCKET)
PACKAGE_CLOUD_API_KEY: $(PACKAGE_CLOUD_API_KEY)
displayName: Create Nightly Release
#
# - job: Release
# pool:
# vmImage: vs2015-win2012r2 # needed for Python 2.7 and gyp
#
# dependsOn:
# - GetReleaseVersion
# - Windows
# - Linux
# - macOS_tests
#
# variables:
# ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
#
# steps:
# - task: NodeTool@0
# inputs:
# versionSpec: 10.2.1
# displayName: Install Node.js 10.2.1
#
# # This has to be done separately because VSTS inexplicably
# # exits the script block after `npm install` completes.
# - script: |
# cd script\vsts
# npm install
# displayName: npm install
#
# - task: DownloadBuildArtifacts@0
# inputs:
# itemPattern: '**'
# downloadType: 'specific'
# displayName: Download Release Artifacts
#
# - script: |
# node $(Build.SourcesDirectory)\script\vsts\upload-artifacts.js --create-github-release --assets-path "$(System.ArtifactsDirectory)" --linux-repo-name "atom"
# env:
# GITHUB_TOKEN: $(GITHUB_TOKEN)
# ATOM_RELEASE_VERSION: $(ReleaseVersion)
# ATOM_RELEASES_S3_KEY: $(ATOM_RELEASES_S3_KEY)
# ATOM_RELEASES_S3_SECRET: $(ATOM_RELEASES_S3_SECRET)
# ATOM_RELEASES_S3_BUCKET: $(ATOM_RELEASES_S3_BUCKET)
# PACKAGE_CLOUD_API_KEY: $(PACKAGE_CLOUD_API_KEY)
# displayName: Create Nightly Release