mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-25 20:44:09 +01:00
Apply suggestions from code review
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
67acd75337
commit
81503232cc
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
# Script to generate OpenAPI typescript definitions for the Matrix APIs
|
# Script to generate OpenAPI typescript definitions for the Matrix APIs
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
RELEASE="${npm_package_version%.*}"
|
RELEASE="${npm_package_version%.*}"
|
||||||
SPEC_DIR="v${RELEASE}"
|
SPEC_DIR="v${RELEASE}"
|
||||||
if [ "$RELEASE" == "0.0" ]; then
|
if [ "$RELEASE" == "0.0" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue