Permalink
Browse files

Fixing default behaviour for the config option makeReleaseVersions.

  • Loading branch information...
1 parent ed29823 commit 0cdadbad0e5beae0d968632cb0308c5bedb4b775 Szaby Grünwald committed Sep 16, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/coffeeapp.coffee
View
@@ -233,11 +233,12 @@ grindCoffee = ->
log "Wrapping 'push' of couchapp"
config = getConfig()
timestamp = getTimestamp()
+ makeReleaseVersions = config['makeReleaseVersions'] isnt false
releasesDir = releases_folder_name
unless existsSync releasesDir
log "initialize #{releasesDir} directory"
mkdirSync releasesDir, 0700
- if config['makeReleaseVersions']
+ if makeReleaseVersions
releasePath = join releasesDir, timestamp
else
releasePath = join releasesDir, config['designdocName']

0 comments on commit 0cdadba

Please sign in to comment.