Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marinaglancy
Copy link

  • 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
Copy link
Owner

FMCorz commented Oct 24, 2019

Thanks Marina.

Have you considered simply running:

mdk run version; mdk upgrade --no-checkout

@marinaglancy
Copy link
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
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