mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Fix release ver calculation
This commit is contained in:
parent
872b670712
commit
67acd75337
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Script to generate OpenAPI typescript definitions for the Matrix APIs
|
||||
|
||||
RELEASE="${npm_package_version%.0}"
|
||||
RELEASE="${npm_package_version%.*}"
|
||||
SPEC_DIR="v${RELEASE}"
|
||||
if [ "$RELEASE" == "0.0" ]; then
|
||||
RELEASE="unstable"
|
||||
|
|
|
|||
Loading…
Reference in a new issue