mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	build-release-tarball: Improve help/error output.
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
				
			|||||||
set -eu
 | 
					set -eu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
usage() {
 | 
					usage() {
 | 
				
			||||||
    echo "Usage: $0 <ZULIP_VERSION>" >&2
 | 
					    echo "Usage: $0 <ZULIP_VERSION> [--authors-not-required]" >&2
 | 
				
			||||||
    exit 1
 | 
					    exit 1
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -35,6 +35,7 @@ if ! git diff --exit-code >/dev/null; then
 | 
				
			|||||||
    echo "will not be included; you should commit or stash them based on "
 | 
					    echo "will not be included; you should commit or stash them based on "
 | 
				
			||||||
    echo "what you want and then try again."
 | 
					    echo "what you want and then try again."
 | 
				
			||||||
    echo
 | 
					    echo
 | 
				
			||||||
 | 
					    git diff
 | 
				
			||||||
    exit 1
 | 
					    exit 1
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user