Alternate syntax for older Git on Jenkins
This commit is contained in:
parent
b8bc8301f9
commit
27475c599f
1 changed files with 5 additions and 1 deletions
|
@ -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/"
|
||||
|
|
Loading…
Reference in a new issue