Fix release ver calculation

This commit is contained in:
Michael Telatynski 2024-03-22 19:16:22 +00:00
parent 872b670712
commit 67acd75337
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D

View file

@ -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"