add warning message for run-all-petstore

This commit is contained in:
wing328 2017-05-15 15:37:05 +08:00
parent 9c46ab2599
commit 2a70655c98

View File

@ -1,4 +1,12 @@
#!/bin/bash -e
# this bash script will loop through all the .sh files under bin
# execute the script and check the result (exit code) to see if
# there's any error
echo "IMPORTANT: this script should be run by the CI (e.g. Shippable) only. There's no need to run this script to update Petstore samples for all generators."
echo "Please press CTRL+C to stop or the script will continue in 10 seconds."
sleep 10
for SCRIPT in ./bin/*.sh
do