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

Include version in zip file name? #606

Open
ebelendez opened this issue Jun 7, 2020 · 1 comment
Open

Include version in zip file name? #606

ebelendez opened this issue Jun 7, 2020 · 1 comment

Comments

@ebelendez
Copy link

Hi, I'm using a script to auth user when "composer update".
It works fine!
The title of the zip files start with the package name so I can have different credentials for each package, the problem is it does not include the version number so I cannot assign different credentials to each version.
So it would be nice if you could name the files something like this:
usename-package-v3.2.1-43kJ2ldj23bn2Sck..

Thanks in advance

@Gounlaf
Copy link
Contributor

Gounlaf commented Oct 3, 2020

Satis rely on Composer class to generate the name:

\Composer\Package\Archiver\ArchiveManager::getPackageFilename(PackageInterface $package))

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

No branches or pull requests

3 participants