ニジカ投稿局 https://tv.nizika.tv
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

openapi-peertube-version.sh 475 B

1234567891011
  1. #!/usr/bin/env bash
  2. # Version key/value should be on his own line
  3. PACKAGE_VERSION=$(node -p "require('./package.json').version")
  4. sed -i "s/\(^\s*\)version: .*/\1version: $PACKAGE_VERSION/" ./support/doc/api/openapi.yaml
  5. # Sets the package version for libs
  6. echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/go.yaml
  7. echo "artifactVersion: $PACKAGE_VERSION" >> ./support/openapi/kotlin.yaml
  8. echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/python.yaml