File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ if [ ! -z "$RELEASE_DRY_RUN" ]; then
7272 git reset --soft HEAD~1
7373fi
7474
75- if [ " ${npm_previous_package_version % . * } " != " ${npm_current_package_version % . * } " ]; then
75+ if [ " $npm_previous_package_minor_version " != " $npm_current_package_minor_version " ]; then
7676 echo " New minor version - Updating the 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
7878 if [ -z " $RELEASE_DRY_RUN " ]; then
You can’t perform that action at this time.
0 commit comments