mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-06 08:38:41 +00:00
19 lines
364 B
Bash
Executable File
19 lines
364 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -d "tmp" ]; then
|
|
rm -rf tmp
|
|
fi
|
|
|
|
mkdir tmp
|
|
cp originals/backend.zip tmp
|
|
cd tmp
|
|
unzip backend.zip
|
|
mv backend-ser* backend-service
|
|
|
|
# Some people may want to remove the documentation of the API.
|
|
# rm -rf backend-service/share
|
|
rm backend-service/README.md
|
|
|
|
tar zcvf backend-service.tar.gz backend-service
|
|
|
|
cp *.tar.gz ../../backend-service/archives |