mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +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
|
# Script to generate OpenAPI typescript definitions for the Matrix APIs
|
||||||
|
|
||||||
RELEASE="${npm_package_version%.0}"
|
RELEASE="${npm_package_version%.*}"
|
||||||
SPEC_DIR="v${RELEASE}"
|
SPEC_DIR="v${RELEASE}"
|
||||||
if [ "$RELEASE" == "0.0" ]; then
|
if [ "$RELEASE" == "0.0" ]; then
|
||||||
RELEASE="unstable"
|
RELEASE="unstable"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue