Created
September 27, 2016 08:03
-
-
Save struberg/6b235bdbb2b3e2f9062b44e26f9aca4d to your computer and use it in GitHub Desktop.
Shell script to propagate the Apache OpenWebBeans dist area after the VOTE succeeded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# shell script to propagate the Apache OpenWebBeans dist area | |
cd $1 | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.tar.gz | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.tar.gz.asc | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.tar.gz.md5 | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.tar.gz.sha1 | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.zip | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.zip.asc | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.zip.md5 | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans-distribution/${1}/openwebbeans-distribution-${1}-binary.zip.sha1 | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans/${1}/openwebbeans-${1}-source-release.zip | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans/${1}/openwebbeans-${1}-source-release.zip.asc | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans/${1}/openwebbeans-${1}-source-release.zip.md5 | |
curl -O https://repository.apache.org/content/groups/public/org/apache/openwebbeans/openwebbeans/${1}/openwebbeans-${1}-source-release.zip.sha1 | |
for f in *.zip; do (md5sum ${f}; cat ${f}.md5;echo;echo;); done | |
for f in *.tar.gz; do (md5sum ${f}; cat ${f}.md5;echo;echo;); done | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment