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

Version in composer.json is not updated #8

Closed
rickschippers opened this issue Aug 5, 2021 · 5 comments
Closed

Version in composer.json is not updated #8

rickschippers opened this issue Aug 5, 2021 · 5 comments

Comments

@rickschippers
Copy link
Contributor

There is a new release tag 1.2.2, however the version in composer.json is stil 1.2.1. So when you install this plugin with composer, it won't update to 1.2.2.

@saranchuk-hys
Copy link
Contributor

Hello @rickschippers
Thank you for your issue

@rickschippers
Copy link
Contributor Author

rickschippers commented Aug 5, 2021

It still won't update, likely because the 1.2.2 tag is on a commit that has version 1.2.1 in the composer.json.

$ composer require buckaroo/shopware6 1.2.2 -vvv
Reading ./composer.json (/var/www/vhosts/shopware/composer.json)
Loading config file /home/rick/.config/composer/config.json
Loading config file /home/rick/.config/composer/auth.json
Loading config file ./composer.json (/var/www/vhosts/shopware/composer.json)
Loading config file /var/www/vhosts/shopware/auth.json
Reading /var/www/vhosts/shopware/auth.json
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/var/www/vhosts/shopware): git branch -a --no-color --no-abbrev -v
Failed to initialize global composer: Composer could not find the config file: /home/rick/.config/composer/composer.json

Reading /var/www/vhosts/shopware/vendor/composer/installed.json
Loading plugin PackageVersions\Installer (from composer/package-versions-deprecated)
Loading plugin cweagans\Composer\Patches (from cweagans/composer-patches)
Running 2.0.13 (2021-04-27 13:11:08) with PHP 7.4.22 on Linux / 5.8.0-63-generic
Using GitHub token authentication
Downloading https://api.github.com/repos/buckaroo-it/Shopware-6-plugin
[200] https://api.github.com/repos/buckaroo-it/Shopware-6-plugin
Downloading https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/contents/composer.json?ref=master
[200] https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/contents/composer.json?ref=master
Downloading https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/commits/master
[200] https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/commits/master
Downloading https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/tags?per_page=100
[200] https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/tags?per_page=100
Downloading https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/git/refs/heads?per_page=100
[200] https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/git/refs/heads?per_page=100
Downloading https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/contents/.github/FUNDING.yml
[404] https://api.github.com/repos/buckaroo-it/Shopware-6-plugin/contents/.github/FUNDING.yml
Downloading https://api.github.com/repos/buckaroo-it/.github/contents/FUNDING.yml
[404] https://api.github.com/repos/buckaroo-it/.github/contents/FUNDING.yml
Reading composer.json of buckaroo/shopware6 (v1.2.1)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/9d3c0fa6feb06fe06ae5a9eb5078728d18ab67a9 from cache
Importing tag v1.2.1 (1.2.1.0)
Reading composer.json of buckaroo/shopware6 (v1.2.0)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/3b3b2481253c41d1c0c7c12c050715139fd0a832 from cache
Importing tag v1.2.0 (1.2.0.0)
Reading composer.json of buckaroo/shopware6 (v1.1.4)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/7b78c7a1fc9c0ecf7b6419bfc817e271e2b21e7d from cache
Importing tag v1.1.4 (1.1.4.0)
Reading composer.json of buckaroo/shopware6 (v1.0.8-RC1)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/7f5049456f463687f34e156338819fed46741f58 from cache
Skipped tag v1.0.8-RC1, tag (1.0.8.0-RC1) does not match version (1.0.8.0) in composer.json
Reading composer.json of buckaroo/shopware6 (v1.0.5-RC1)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/58096e2cd2a02f0991afc1dcdeb6c7e48f157b22 from cache
Importing tag v1.0.5-RC1 (1.0.5.0-RC1)
Reading composer.json of buckaroo/shopware6 (1.2.2)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/4c5d02c78aed309aa2a0489d7d2ae3cde2a52eab from cache
Skipped tag 1.2.2, tag (1.2.2.0) does not match version (1.2.1.0) in composer.json
Reading composer.json of buckaroo/shopware6 (1.1.1)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/58a7f758e4e0c4f0ae9d81f35de738175261dc4c from cache
Importing tag 1.1.1 (1.1.1.0)
Reading composer.json of buckaroo/shopware6 (master)
Reading /home/rick/.cache/composer/repo/github.com/buckaroo-it/Shopware-6-plugin/3fb86553e5abd966b1ca716937441e54c2a7c7f3 from cache
Importing branch master (dev-master)
Reading composer.json of buckaroo/shopware6 (v1.0.5-RC1)
Importing branch v1.0.5-RC1 (dev-v1.0.5-RC1)
Reading composer.json of buckaroo/shopware6 (v1.0.8-RC1)
Importing branch v1.0.8-RC1 (dev-v1.0.8-RC1)
Reading composer.json of buckaroo/shopware6 (v1.1.4)
Importing branch v1.1.4 (v1.1.4.x-dev)
Using HTTP basic authentication with username "***"
Downloading https://composer.muntz.nl/repo/private/packages.json
[200] https://composer.muntz.nl/repo/private/packages.json
Writing /home/rick/.cache/composer/repo/https---composer.muntz.nl-repo-private/packages.json into cache
Downloading https://packages.friendsofshopware.com/packages.json
[200] https://packages.friendsofshopware.com/packages.json
Writing /home/rick/.cache/composer/repo/https---packages.friendsofshopware.com/packages.json into cache
Downloading https://repo.packagist.org/packages.json
[200] https://repo.packagist.org/packages.json
Writing /home/rick/.cache/composer/repo/https---repo.packagist.org/packages.json into cache
Downloading https://repo.packagist.org/p2/buckaroo/shopware6.json
Downloading https://repo.packagist.org/p2/buckaroo/shopware6~dev.json
[404] https://repo.packagist.org/p2/buckaroo/shopware6.json
[404] https://repo.packagist.org/p2/buckaroo/shopware6~dev.json

                                                                         
  [InvalidArgumentException]                                             
  Could not find package buckaroo/shopware6 in a version matching 1.2.2  
                                                                         


@rickschippers
Copy link
Contributor Author

Thx @saranchuk-hys, now it updates correctly.

@Buckaroo-Rens
Copy link
Collaborator

Thanks for confirmation @rickschippers

@saranchuk-hys
Copy link
Contributor

Thank you @rickschippers for your issue

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

No branches or pull requests

3 participants