]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/openapi-peertube-version.sh
Live streaming implementation first step
[github/Chocobozzz/PeerTube.git] / scripts / openapi-peertube-version.sh
index 4eb481e6435b277f47feb89722edd00d6aac9aaa..49154a5f3767148ae932b3037d7120707737a009 100755 (executable)
@@ -4,3 +4,8 @@
 PACKAGE_VERSION=$(node -p "require('./package.json').version")
 
 sed -i "s/\(^\s*\)version: .*/\1version: $PACKAGE_VERSION/" ./support/doc/api/openapi.yaml
+
+# Sets the package version for libs
+echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/go.yaml
+echo "artifactVersion: $PACKAGE_VERSION" >> ./support/openapi/kotlin.yaml
+echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/python.yaml