Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit f083156

Browse files
committed
fix(release): Accept unstaged files in working copy when releasing
1 parent 8abd679 commit f083156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fi
3737
# Check that the working repository is clean (without any changes, neither staged nor unstaged).
3838
# An exception is the change log, which should have been edited, but not necessarily committed (we usually commit it
3939
# along with the version number).
40-
if [[ ! -z `git status --porcelain | grep -v "ChangeLog.md"` ]]; then
40+
if [[ ! -z `git status --porcelain | grep -v "ChangeLog.md\|??"` ]]; then
4141
echo "ERROR: Working copy not clean! Aborting." 1>&2
4242
echo "Please revert or commit any pending changes before releasing." 1>&2
4343
exit 1

0 commit comments

Comments
 (0)