Ship swagger files and mount them on /swagger
This commit is contained in:
parent
a4578194f0
commit
32a808b962
4 changed files with 25 additions and 7 deletions
|
@ -3,7 +3,7 @@ echo "Creating output directory"
|
|||
mkdir -p release/tmp
|
||||
|
||||
echo "Copying package files"
|
||||
cp -r web src migrations Cargo.toml Cargo.lock res/unix/Makefile release/tmp
|
||||
cp -r web docs/swagger src migrations Cargo.toml Cargo.lock res/unix/Makefile release/tmp
|
||||
|
||||
echo "Creating tarball"
|
||||
POLARIS_VERSION=$(grep -m 1 ^version Cargo.toml | awk '{print $3}' | tr -d '"\r\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue