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

Changed getOpenMageVersion() #4496

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

sreichel
Copy link
Contributor

@sreichel sreichel commented Jan 19, 2025

Tests work.

We dont need to upgrade the verion for every release anymore, but 3rd-party cant get the version info anymore.

In a composer-based procet you can detect the installed version easily. Do we need to have hardcoded version number?

@github-actions github-actions bot added Template : admin Relates to admin template Template : base Relates to base template Component: Adminhtml Relates to Mage_Adminhtml Mage.php Relates to app/Mage.php Component: Page Relates to Mage_Page composer Relates to composer.json labels Jan 19, 2025
Comment on lines +185 to +187
$versionfromGit = self::getVersionFromGit($withHas);
if ($versionfromGit) {
return $versionfromGit;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't that collide with other repos that uses openMage?

if my repo has tags, then it would return my Repo tags instead of the OpenMage tags

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed to push last commits. Check for composer version has to come first.

Will update PR tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml Component: Page Relates to Mage_Page composer Relates to composer.json enhancement Mage.php Relates to app/Mage.php Template : admin Relates to admin template Template : base Relates to base template
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants