mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Merge pull request #12210 from atom/ns-dg-rename-publish-var
Rename ATOM_REPO to ATOM_PUBLISH_REPO and always publish when it is set
This commit is contained in:
@@ -296,7 +296,9 @@ module.exports = (grunt) ->
|
||||
ciTasks.push('create-windows-installer:installer')
|
||||
ciTasks.push('codesign:installer') if process.env.JANKY_SIGNTOOL
|
||||
ciTasks.push('codesign:cleanup')
|
||||
ciTasks.push('publish-build') unless process.env.CI
|
||||
|
||||
if process.env.ATOM_PUBLISH_REPO or not process.env.CI
|
||||
ciTasks.push('publish-build')
|
||||
|
||||
grunt.registerTask('ci', ciTasks)
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ AWS = require 'aws-sdk'
|
||||
grunt = null
|
||||
|
||||
token = process.env.ATOM_ACCESS_TOKEN
|
||||
repo = process.env.ATOM_REPO ? 'atom/atom'
|
||||
repo = process.env.ATOM_PUBLISH_REPO ? 'atom/atom'
|
||||
defaultHeaders =
|
||||
Authorization: "token #{token}"
|
||||
'User-Agent': 'Atom'
|
||||
|
||||
Reference in New Issue
Block a user