diff options
author | Jonah Graham | 2020-01-13 18:30:52 +0000 |
---|---|---|
committer | Jonah Graham | 2020-01-13 18:36:03 +0000 |
commit | 6042ffbf793af367151d3055f27519eec799aecc (patch) | |
tree | 6da528a6cbad90239efc058f081a2a1542200e70 /releng | |
parent | 2aae414fba09cb21254d678488c018ef0c319c29 (diff) | |
download | org.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
Change-Id: I86e2cd2adb5aacb1332de125e2f3efcde9438fa8
Diffstat (limited to 'releng')
-rwxr-xr-x | releng/scripts/check_features.sh | 12 |
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 |