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

Fix --version option is not working properly #1351 #1354

Closed
wants to merge 1 commit into from
Closed

Fix --version option is not working properly #1351 #1354

wants to merge 1 commit into from

Conversation

chellem
Copy link

@chellem chellem commented Sep 1, 2017

Q A
Bug fix? Yes
New feature? No
BC breaks? No
Deprecations? No
Fixed tickets 1351

@antonmedv
Copy link
Member

Please add comments about implementation,

$version = $package['version'];
}
$composerLockFiles = array(
realpath($deployFilePath . '/../composer.lock'),
Copy link
Member

Choose a reason for hiding this comment

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

Why ..?

Copy link
Author

Choose a reason for hiding this comment

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

because I don't find composer.lock in the same directory as $deployFilePath

}
$composerLockFiles = array(
realpath($deployFilePath . '/../composer.lock'),
realpath(__DIR__ . '/../../../../composer.lock')
Copy link
Member

Choose a reason for hiding this comment

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

../../../..?

Copy link
Author

Choose a reason for hiding this comment

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

getting the global composer.lock

@chellem
Copy link
Author

chellem commented Sep 1, 2017

@antonmedv the changes doesn't work?

@antonmedv
Copy link
Member

But it does working now:

php vendor/bin/dep --version

@antonmedv
Copy link
Member

After a lot fo thinking, I decided to go away from using version detection. Now version will be set manually every time before release.

@antonmedv antonmedv closed this Nov 12, 2017
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.

None yet

2 participants