Skip to content

Commit e58e818

Browse files
committed
Add a review step for OldVersions update
1 parent ea7c0a6 commit e58e818

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/release.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ if [ ! -z "$RELEASE_DRY_RUN" ]; then
7373
fi
7474

7575
if [ "$npm_previous_package_minor_version" != "$npm_current_package_minor_version" ]; then
76-
echo "New minor version - Updating the OldVersion.md file"
76+
echo "New minor version - Updating the docs/OldVersion.md file"
7777
sed -i "s/^- \[v$npm_previous_package_minor_version\].*/- [v$npm_current_package_minor_version](https:\/\/github.com\/marmelab\/react-admin\/blob\/master\/docs\/Admin.md)\n- [v$npm_previous_package_minor_version](https:\/\/github\.com\/marmelab\/react\-admin\/blob\/v$npm_previous_package_version\/docs\/Admin.md\)/" docs/OldVersions.md
78+
echo "Please review the docs/OldVersion.md file and update it if needed."
79+
echo "Press Enter when this is done"
80+
read
7881
if [ -z "$RELEASE_DRY_RUN" ]; then
7982
echo "Committing the OldVersion.md file update"
8083
git add .

0 commit comments

Comments
 (0)