diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-17 09:03:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-02-17 09:03:49 +0100 |
commit | 1d17d86349fd2b3a9bc85145d02383ba4aea4dc0 (patch) | |
tree | 8f6e7138123b8f7c46d618f9695c30a39f16e111 /scripts/openapi-peertube-version.sh | |
parent | a30a136c9896c656cab98d2c92cde32c534dc098 (diff) | |
parent | 45de2dfcb5b3d56f0bc978b25b9746354890262e (diff) | |
download | PeerTube-1d17d86349fd2b3a9bc85145d02383ba4aea4dc0.tar.gz PeerTube-1d17d86349fd2b3a9bc85145d02383ba4aea4dc0.tar.zst PeerTube-1d17d86349fd2b3a9bc85145d02383ba4aea4dc0.zip |
Merge branch 'open-api-clients' into develop
Diffstat (limited to 'scripts/openapi-peertube-version.sh')
-rwxr-xr-x | scripts/openapi-peertube-version.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/openapi-peertube-version.sh b/scripts/openapi-peertube-version.sh index 4eb481e64..49154a5f3 100755 --- a/scripts/openapi-peertube-version.sh +++ b/scripts/openapi-peertube-version.sh | |||
@@ -4,3 +4,8 @@ | |||
4 | PACKAGE_VERSION=$(node -p "require('./package.json').version") | 4 | PACKAGE_VERSION=$(node -p "require('./package.json').version") |
5 | 5 | ||
6 | sed -i "s/\(^\s*\)version: .*/\1version: $PACKAGE_VERSION/" ./support/doc/api/openapi.yaml | 6 | sed -i "s/\(^\s*\)version: .*/\1version: $PACKAGE_VERSION/" ./support/doc/api/openapi.yaml |
7 | |||
8 | # Sets the package version for libs | ||
9 | echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/go.yaml | ||
10 | echo "artifactVersion: $PACKAGE_VERSION" >> ./support/openapi/kotlin.yaml | ||
11 | echo "packageVersion: $PACKAGE_VERSION" >> ./support/openapi/python.yaml | ||