Skip to content

Improve version.php script (do not prompt for upgrade after running it)#189

Open
marinaglancy wants to merge 1 commit into
FMCorz:masterfrom
marinaglancy:versionphp
Open

Improve version.php script (do not prompt for upgrade after running it)#189
marinaglancy wants to merge 1 commit into
FMCorz:masterfrom
marinaglancy:versionphp

Conversation

@marinaglancy

Copy link
Copy Markdown
  • do not accidentally bump the core version up
  • if we downgraded any plugins or core and moodle does not need upgrade, update the verison hash
    This way we won't need to run upgrade script after fixing version

- do not accidentally bump the core version up
- if we downgraded any plugins or core and moodle does not need upgrade, update the verison hash
This way we won't need to run upgrade script after fixing version
@FMCorz

FMCorz commented Oct 24, 2019

Copy link
Copy Markdown
Owner

Thanks Marina.

Have you considered simply running:

mdk run version; mdk upgrade --no-checkout

@marinaglancy

Copy link
Copy Markdown
Author

I run this script on non-mdk installations so it was convenient for me if it does everything out-of-the-box. But if you think it's not needed, ignore this pull request

@marinaglancy

Copy link
Copy Markdown
Author

also my change to line 33 was a bug imho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants