Skip to content
Snippets Groups Projects
Unverified Commit 7945d332 authored by boklm's avatar boklm
Browse files

Bug 41363: Make separate update_responses commit for each platform

parent b1bd59c3
No related branches found
No related tags found
1 merge request!1172Bug 41374+40799+41363+41394: Make separate update_responses commit for each platform
......@@ -39,7 +39,31 @@ do
mv "$file" "$tbb_version_type/$fname"
done
# Keep directory from previous release if they are not in the new release.
# This happens when a release does not include some platforms.
for file in $(ls -1 "$old_ur/$tbb_version_type")
do
test -d "$old_ur/$tbb_version_type/$file" || continue
test -d "$tbb_version_type/$file" && continue
mv -f "$old_ur/$tbb_version_type/$file" "$tbb_version_type/$file"
done
# Commit each sub-directory separately
for file in $(ls -1 "$tbb_version_type")
do
test -d "$tbb_version_type/$file" || continue
git add "$tbb_version_type/$file"
git add "$tbb_version_type/download-$file.json"
git diff --quiet --cached --exit-code || \
git commit -m "$tbb_version_type: new version, $tbb_version ($file)"
done
git add "$tbb_version_type"/download-android-*.json
git diff --quiet --cached --exit-code || \
git commit -m "$tbb_version_type: new version, $tbb_version (android)"
git add "$tbb_version_type"
git diff --quiet --cached --exit-code || \
git commit -m "$tbb_version_type: new version, $tbb_version"
git push
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment