Skip to content
Snippets Groups Projects
Commit 366caf1c authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[dev] make-distrib.sh: warn about uncommitted changes

parent 7af05e76
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,18 @@ if [ "" != "$IGNORED_FILES" ]; then
fi
################################################################################
################################################################################
# Warn if there are uncommitted changes (will not be taken into account)
GIT_STATUS="$(git status --porcelain)"
if [ "" != "$GIT_STATUS" ]; then
echo "WARNING: uncommitted changes will be IGNORED when making archive:"
echo "$GIT_STATUS"
fi
################################################################################
# Prepare archive
git archive HEAD -o $FRAMAC_TAR --prefix "$FRAMAC/"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment