12 lines
342 B
Bash
Executable file
12 lines
342 B
Bash
Executable file
#!/bin/sh
|
|
echo "Creating output directory"
|
|
mkdir -p release/tmp/polaris
|
|
|
|
echo "Copying package files"
|
|
cp -r web src migrations test-data build.rs Cargo.toml Cargo.lock rust-toolchain res/unix/Makefile release/tmp/polaris
|
|
|
|
echo "Creating tarball"
|
|
tar -zc -C release/tmp -f release/polaris.tar.gz polaris
|
|
|
|
echo "Cleaning up"
|
|
rm -rf release/tmp
|