upload-to-sf.sh 350 B

1234567
  1. #!/bin/sh
  2. VERSION=$(./s3cmd --version | awk '{print $NF}')
  3. echo -e "Uploading \033[32ms3cmd \033[31m${VERSION}\033[0m ..."
  4. #rsync -avP dist/s3cmd-${VERSION}.* ludvigm@frs.sourceforge.net:uploads/
  5. ln -f NEWS README.txt
  6. rsync -avP dist/s3cmd-${VERSION}.* README.txt ludvigm,s3tools@frs.sourceforge.net:/home/frs/project/s/s3/s3tools/s3cmd/${VERSION}/