gen-release.sh is updated to force git-paranoia to run
git clean for us when uploading to kernel.org. Note
that usage of kup is only for kernel.org uploading
and as such not for the faint of heart.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
cd $STAGING/$RELEASE
# Only use interactive paranoia for non-signed / uploaded to kernel.org releases
+# If using kup note that we will from now on always be forcing a super clean
+# release and will simply use git clean to help use remove all detected content
+# that should not be on your local git tree as after a checkout.
PARANOIA=""
if [[ "$USE_KUP" != "1" ]]; then
PARANOIA="-i"
+else
+ PARANOIA="-c"
fi
./scripts/git-paranoia $PARANOIA
if [[ $? -ne 0 ]]; then