diff --git a/README.md b/README.md index e1f34d15..5db9dcc5 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,12 @@ # artflow.ai portraits -This is a collection of portraits scraped from artflow.ai. The images are -licensed by the copyright holder ([artflow.ai](https://artflow.ai/)) under the -[Creative Commons Attribution](https://creativecommons.org/licenses/by/4.0/) -license, but are not made available by the copyright holder in a format that can -be easily consumed in bulk. +This is a collection of 0 portraits scraped from artflow.ai. + +The images are licensed by the copyright holder +([artflow.ai](https://artflow.ai/)) under the [Creative Commons +Attribution](https://creativecommons.org/licenses/by/4.0/) license, but are not +made available by the copyright holder in a format that can be easily consumed +in bulk. The images in this repository are automatically collected, converted from WEBP to JPEG, and saved according to the following format: diff --git a/commit.sh b/commit.sh index 91b5ad5c..34435e90 100755 --- a/commit.sh +++ b/commit.sh @@ -5,13 +5,19 @@ cd "$(dirname "$0")" || return source .env +git pull + git add images +sed -i "/^This is a collection/c This is a collection of $(find images -type f | wc -l) portraits scraped from artflow.ai." README.md + +git add README.md + git \ -c user.name="$USER_NAME"\ -c user.email="$USER_EMAIL" \ -c user.signingkey="$USER_SIGNINGKEY" \ commit \ - -m "$(date +%Y-%m-%d): add $(git status --porcelain=v1 | grep -c '^A ') images" + -m "$(date +%Y-%m-%d): add $(git status --porcelain=v1 | grep -c '^A images') images" git push