From: Christopher Gervais Date: Sat, 4 May 2013 21:24:57 +0000 (-0700) Subject: Set full version in Drupal module .info files. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c4ee968151b0e9f30a08c5b3af6940a128a5ec22;p=civicrm-core.git Set full version in Drupal module .info files. --- diff --git a/distmaker/dists/drupal_php5.sh b/distmaker/dists/drupal_php5.sh index f80f3926c0..ac2c512180 100755 --- a/distmaker/dists/drupal_php5.sh +++ b/distmaker/dists/drupal_php5.sh @@ -65,6 +65,13 @@ cp $SRC/CONTRIBUTORS.txt $TRG cp $SRC/agpl-3.0.exception.txt $TRG cp $SRC/drupal/civicrm.config.php.drupal $TRG/civicrm.config.php +# set full version in .info files +MODULE_DIRS=`find "$DM_SOURCEDIR/drupal" -type f -name "*.info"` +for INFO in $MODULE_DIRS; do + sed -i "s/version = [1-9.]*/version = $DM_VERSION/g" $INFO +done + + # final touch echo "