mirror of https://github.com/gofiber/fiber.git
do not create a new version in docs
parent
49ba8dfbaf
commit
1e84c183b3
|
@ -36,16 +36,16 @@ elif [ "$EVENT" == "release" ]; then
|
||||||
npm ci
|
npm ci
|
||||||
|
|
||||||
# Check if contrib_versions.json exists and modify it if required
|
# Check if contrib_versions.json exists and modify it if required
|
||||||
if [[ -f $VERSION_FILE ]]; then
|
# if [[ -f $VERSION_FILE ]]; then
|
||||||
jq --arg new_version "$new_version" 'del(.[] | select(. == $new_version))' $VERSION_FILE > temp.json && mv temp.json $VERSION_FILE
|
# jq --arg new_version "$new_version" 'del(.[] | select(. == $new_version))' $VERSION_FILE > temp.json && mv temp.json $VERSION_FILE
|
||||||
fi
|
# fi
|
||||||
|
#
|
||||||
# Run docusaurus versioning command
|
# # Run docusaurus versioning command
|
||||||
$DOCUSAURUS_COMMAND "${new_version}"
|
# $DOCUSAURUS_COMMAND "${new_version}"
|
||||||
|
#
|
||||||
if [[ -f $VERSION_FILE ]]; then
|
# if [[ -f $VERSION_FILE ]]; then
|
||||||
jq 'sort | reverse' ${VERSION_FILE} > temp.json && mv temp.json ${VERSION_FILE}
|
# jq 'sort | reverse' ${VERSION_FILE} > temp.json && mv temp.json ${VERSION_FILE}
|
||||||
fi
|
# fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Push changes
|
# Push changes
|
||||||
|
|
Loading…
Reference in New Issue