* 🚀 Make OpenAPI definition available Signed-off-by: Alexandre Franke <alexandre.franke@matrix.org> * 💚 Fix artifact name Signed-off-by: Alexandre Franke <alexandre.franke@matrix.org> * 💚 Introduce dependency between jobs Signed-off-by: Alexandre Franke <alexandre.franke@matrix.org> * 🚀 Make historical definitions available Signed-off-by: Alexandre Franke <alexandre.franke@matrix.org> Co-authored-by: Alexandre Franke <alexandre.franke@matrix.org>
15 lines
269 B
Bash
Executable file
15 lines
269 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# generate a tarball of assets suitable for the matrix.org site
|
|
|
|
set -e
|
|
|
|
cd `dirname $0`/..
|
|
|
|
mkdir -p assets
|
|
|
|
# and the swagger
|
|
./scripts/dump-swagger.py -o assets/spec/client_server/api.json
|
|
|
|
# create a tarball of the assets.
|
|
tar -czf assets.tar.gz assets
|