Answers.Body: <p>Check the settings in distmaker.conf, the ones at the end. They specify the git branch to pull from:</p>
  
  <pre><code>## Git branch/tag name
  DM_REF_CORE=master
  DM_REF_DRUPAL=7.x-${DM_REF_CORE}
  DM_REF_DRUPAL6=6.x-${DM_REF_CORE}
  DM_REF_JOOMLA=${DM_REF_CORE}
  DM_REF_WORDPRESS=${DM_REF_CORE}
  DM_REF_PACKAGES=${DM_REF_CORE}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-16T15:40:02.720Z
Answers.Text: once you have it working, can you please mark the question as answered :)
Answers.UserDisplayName: Donald Lobo
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-05-16T15:07:16.037Z
Answers.LastActivityDate: 2015-05-16T15:07:16.037Z
Answers.UserDisplayName: Donald Lobo
Body: <p>I was using distmaker.sh (<a href="https://github.com/civicrm/civicrm-core/blob/master/distmaker/distmaker.sh" rel="nofollow">https://github.com/civicrm/civicrm-core/blob/master/distmaker/distmaker.sh</a>) to generate tarballs for testing.  </p>
  
  <p>I had my local branches all set to 4.6 (core, drupal, joomla and wordpress) however, distmaker switched to the master branch when building the files.  I had created a buildkit drupal install and then cloned the joomla and wordpress repos into /sites/all/modules/civicrm/</p>
  
  <p>Is there a setting to build the tarballs off a specific branch?</p>
  
Tags: <developer><civicrm-buildkit>
Title: Can distmaker be run off a specific branch
ThreadText: # Can distmaker be run off a specific branch
  
  (Asked by: username_0 on 2015-05-16)
  
  I was using distmaker.sh (<https://github.com/civicrm/civicrm-core/blob/master/distmaker/distmaker.sh>) to generate tarballs for testing.
  
  I had my local branches all set to 4.6 (core, drupal, joomla and wordpress) however, distmaker switched to the master branch when building the files. I had created a buildkit drupal install and then cloned the joomla and wordpress repos into /sites/all/modules/civicrm/
  
  Is there a setting to build the tarballs off a specific branch?
  
  **Tags:** developer, civicrm-buildkit
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-05-16. Score: 3 | Accepted answer
  
  Check the settings in distmaker.conf, the ones at the end. They specify the git branch to pull from:
  ## Git branch/tag name
  DM_REF_CORE=master
  DM_REF_DRUPAL=7.x-${DM_REF_CORE}
  DM_REF_DRUPAL6=6.x-${DM_REF_CORE}
  DM_REF_JOOMLA=${DM_REF_CORE}
  DM_REF_WORDPRESS=${DM_REF_CORE}
  DM_REF_PACKAGES=${DM_REF_CORE}
  
  > **Comments:**
  > **username_1**: once you have it working, can you please mark the question as answered :)  
  
  ---
  
  