mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Revert "REMOVE ME hacks on hacks on hacks"
This reverts commit 35d9c3dfff.
This commit is contained in:
@@ -5,9 +5,9 @@ module.exports = (grunt) ->
|
||||
{spawn} = require('./task-helpers')(grunt)
|
||||
|
||||
getVersion = (callback) ->
|
||||
releasableBranches = ['stable', 'beta', 'upload-to-s3']
|
||||
releasableBranches = ['stable', 'beta']
|
||||
channel = grunt.config.get('atom.channel')
|
||||
shouldUseCommitHash = false # if channel in releasableBranches then false else true
|
||||
shouldUseCommitHash = if channel in releasableBranches then false else true
|
||||
inRepository = fs.existsSync(path.resolve(__dirname, '..', '..', '.git'))
|
||||
{version} = require(path.join(grunt.config.get('atom.appDir'), 'package.json'))
|
||||
if shouldUseCommitHash and inRepository
|
||||
|
||||
Reference in New Issue
Block a user