mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-29 09:27:56 +00:00
21 lines
453 B
Bash
Executable file
21 lines
453 B
Bash
Executable file
#!/bin/bash
|
|
|
|
|
|
version=$1
|
|
if [ -z "${version}" ]; then
|
|
echo "usage: update <version>"
|
|
exit 1
|
|
fi
|
|
set -ex
|
|
url="http://ftp.gnu.org/gnu/parallel/parallel-${version}.tar.bz2"
|
|
file="/tmp/parallel-${version}.tgz"
|
|
wget "$url" -O "${file}"
|
|
( cd "$(dirname "$0")" && \
|
|
0publish \
|
|
--add-version ${version} \
|
|
--archive-url="${url}" \
|
|
--archive-file="${file}" \
|
|
--archive-extract="parallel-${version}" \
|
|
--set-released=today \
|
|
--xmlsign parallel.xml )
|