Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorJonah Graham2020-01-13 18:30:52 +0000
committerJonah Graham2020-01-13 18:36:03 +0000
commit6042ffbf793af367151d3055f27519eec799aecc (patch)
tree6da528a6cbad90239efc058f081a2a1542200e70 /releng
parent2aae414fba09cb21254d678488c018ef0c319c29 (diff)
downloadorg.eclipse.cdt-6042ffbf793af367151d3055f27519eec799aecc.tar.gz
org.eclipse.cdt-6042ffbf793af367151d3055f27519eec799aecc.tar.xz
org.eclipse.cdt-6042ffbf793af367151d3055f27519eec799aecc.zip
Bug 558827: Add feature info for launchbar and tools.templates
Diffstat (limited to 'releng')
-rwxr-xr-xreleng/scripts/check_features.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/releng/scripts/check_features.sh b/releng/scripts/check_features.sh
index a831ca549bd..b936c9d28bf 100755
--- a/releng/scripts/check_features.sh
+++ b/releng/scripts/check_features.sh
@@ -42,7 +42,17 @@ find * -name feature.xml -not -path */target/* | while read feature_xml; do
cp releng/templates/feature/about.ini $plugin_dir
fi
- feature_start_year=$(git log --reverse --format='%ad' --date="format:%Y" -- $feature_xml $plugin_dir | head -1)
+ case $feature_xml in
+ launchbar*)
+ # The git history does not show the proper start year for launchbar because of Bug 558439
+ # Note, we can't simply use --follow because that causes other features to have a too
+ # early copyright year.
+ feature_start_year=2014
+ ;;
+ *)
+ feature_start_year=$(git log --reverse --format='%ad' --date="format:%Y" -- $feature_xml $plugin_dir | head -1)
+ ;;
+ esac
feature_end_year=$(git log --format='%ad' --date="format:%Y" -- $feature_xml $plugin_dir | head -1)
feature_name=$(grep featureName= $feature_dir/feature.properties | sed '-es,featureName=,,')
export feature_start_year feature_end_year feature_name

Back to the top