mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
21 lines
453 B
Plaintext
21 lines
453 B
Plaintext
|
#!/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 )
|