mirror of
https://github.com/coulisse/spiderweb.git
synced 2024-09-21 07:27:09 +00:00
Fix on automatic process n 2
This commit is contained in:
parent
649cce56ab
commit
5e14996834
@ -289,22 +289,23 @@ if [ "$2" == "-c" ]; then
|
||||
esac
|
||||
|
||||
|
||||
if ! git add * ; then
|
||||
if ! git add . ; then
|
||||
echo 'Error on adding files'
|
||||
exit 7
|
||||
fi
|
||||
|
||||
if ! git tag ${ver}; then
|
||||
echo 'Please, add comment for commit on tag ' ${ver}
|
||||
read comm_tag_msg
|
||||
if ! git commit -m "${comm_tag_msg}"; then
|
||||
echo 'Error on commit'
|
||||
exit 9
|
||||
fi
|
||||
|
||||
if ! git tag ${ver} HEAD -m "${comm_tag_msg}"; then
|
||||
echo 'Error on tagging'
|
||||
exit 8
|
||||
fi
|
||||
|
||||
echo 'Please, add comment for commit on tag ' ${ver}
|
||||
read comm_msg
|
||||
if ! git commit -m "${comm_msg}"; then
|
||||
echo 'Error on commit'
|
||||
exit 9
|
||||
fi
|
||||
|
||||
echo Commit ok
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user