mockbuild: remove unused logs

These logs are not preserved, just remove them.
This commit is contained in:
Lars Karlitski 2020-11-10 20:32:11 +01:00
parent c19231c44e
commit cf3ae337b0

View file

@ -77,9 +77,8 @@ sudo chown -R $USER ${REPO_DIR}
# Change the ownership of all of our repo files from root to our CI user.
sudo chown -R $USER ${REPO_DIR%%/*}
# Move the logs out of the way.
greenprint "🧹 Retaining logs from mock build"
mv ${REPO_DIR}/*.log $WORKSPACE
greenprint "🧹 Remove logs from mock build"
rm ${REPO_DIR}/*.log
# Create a repo of the built RPMs.
greenprint "⛓️ Creating dnf repository"