Commit 68636510 authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian
Browse files

Consider HEAD tags to be $DRUPAL_MAJOR_VERSION.x-dev versions in

parent f983fc4e
......@@ -84,7 +84,7 @@ function _provision_cvs_deploy_version_from_tag($tag) {
// If there's nothing, it must be a HEAD checkout, and therefore,
// we have no idea what the version is.
if (!$tag || $tag == 'HEAD') {
$version = 'HEAD';
$version = drush_drupal_major_version() . '.x-dev';
// See if it's a Drupal core release
elseif (preg_match('@^DRUPAL-(\d+)-(\d+)$@', $tag, $match)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment