diff --git a/commit-file.txt b/commit-file.txt index 6ed281c..e8183f0 100644 --- a/commit-file.txt +++ b/commit-file.txt @@ -1,2 +1,3 @@ 1 1 +1 diff --git a/commit.sh b/commit.sh index ce6136b..856d6a9 100755 --- a/commit.sh +++ b/commit.sh @@ -1,5 +1,8 @@ -echo "1" >> /srv/daily-commit/commit-file.txt; -cd /srv/daily-commit/; -git add *; -git commit -m "Commit"; -git push; +for i in {1..$((1 + $RANDOM % 10))}; +do + echo "1" >> /srv/daily-commit/commit-file.txt; + cd /srv/daily-commit/; + git add *; + git commit -m "Commit"; + git push; +done