mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-30 00:37:52 +03:00
16 lines
376 B
Bash
Executable File
16 lines
376 B
Bash
Executable File
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
os="$1"
|
|
package_dir="target/tarball/hurl-$VERSION"
|
|
tarball_file="hurl-$VERSION-x86_64-$os.tar.gz"
|
|
|
|
mkdir -p "$package_dir"
|
|
cp target/release/hurl "$package_dir"
|
|
cp target/release/hurlfmt "$package_dir"
|
|
cp target/man/* "$package_dir"
|
|
|
|
mkdir -p target/upload
|
|
tar cvfz "target/upload/$tarball_file" -C "$(dirname "$package_dir")" "hurl-$VERSION"
|
|
|