Skip to content

Commit 2c9b894

Browse files
committed
Replace redoc-cli with redocly
Signed-off-by: Willy Lulciuc <[email protected]>
1 parent 6fdc2ef commit 2c9b894

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

new-version.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Requirements:
77
# * You're on the 'main' branch
88
# * You've installed 'bump2version'
9-
# * You've installed 'redoc-cli'
9+
# * You've installed 'redocly'
1010
#
1111
# Usage: $ ./new-version.sh --release-version RELEASE_VERSION --next-version NEXT_VERSION
1212

@@ -59,9 +59,9 @@ if [[ ! $(type -P bump2version) ]]; then
5959
exit 1;
6060
fi
6161

62-
# Verify redoc-cli is installed
63-
if [[ ! $(type -P redoc-cli) ]]; then
64-
echo "redoc-cli not installed! Please see https://redoc.ly/docs/redoc/quickstart/cli"
62+
# Verify redocly is installed
63+
if [[ ! $(type -P redocly) ]]; then
64+
echo "redocly not installed! Please see https://redoc.ly/docs/redoc/quickstart/cli"
6565
exit 1;
6666
fi
6767

@@ -140,7 +140,7 @@ sed -i "" "s/<version>.*/<version>${RELEASE_VERSION}<\/version>/g" ./clients/jav
140140
sed -i "" "s/marquez-java:.*/marquez-java:${RELEASE_VERSION}/g" ./clients/java/README.md
141141

142142
# (5) Bundle openAPI docs
143-
redoc-cli bundle spec/openapi.yml --output docs/openapi.html --title "Marquez API Reference"
143+
redocly build-docs spec/openapi.yml --output docs/openapi.html --title "Marquez API Reference"
144144

145145
# (6) Prepare release commit
146146
git commit -sam "Prepare for release ${RELEASE_VERSION}" --no-verify

0 commit comments

Comments
 (0)