Browse Source

Remove checksum files after sync

main
Sindre Stephansen 11 months ago
parent
commit
b70090053b
Signed by: sindre <sindre@sindrestephansen.com> GPG Key ID: B06FC67D17A46ADE
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      run.sh

+ 1
- 0
run.sh View File

@@ -19,6 +19,7 @@ SYNCRET=$?
USER_ID=$user GROUP_ID=$group docker-compose down -v

if [ $SYNCRET -eq 0 ]; then
find ./data/repositories/releases/ -type f -name \*.sha1 -exec rm {} \;
echo "Creating a tarball of the Releases"
tar zcvf ./maven-releases-packages.tar.gz -C ./data/repositories/releases/ . 2>/dev/null
chown "$user:$group" ./maven-releases-packages.tar.gz


Loading…
Cancel
Save