1
0
Fork 0

Alternate syntax for older Git on Jenkins

This commit is contained in:
Automatic Release Builder 2021-02-17 10:35:25 +00:00
parent b8bc8301f9
commit 27475c599f

View file

@ -54,6 +54,10 @@ tar -cJf output/$OUTPUT_NAME.txz --directory staging fgdata
echo "Creating updates package"
tar -cJf output/FlightGear-$VERSION-update-data.txz `git -C fgdata diff --name-only --line-prefix="fgdata/" $BASE_VERSION_TAG..HEAD`
pushd fgdata
git diff --name-only --line-prefix="fgdata/" $BASE_VERSION_TAG..HEAD > ../fgdata_changes
popd
tar -cJf output/FlightGear-$VERSION-update-data.txz -T fgdata_changes
echo "Done, data TXZs are in output/"