Skip to content

Commit

Permalink
chore: set version in composer.json
Browse files Browse the repository at this point in the history
When running dump-autoload, then composer tries to find a matching version number.

Sometimes the VCS detection does not work and the generated version number changes from the commit hash to the fallback and back to the generated version when someone else updates the package.

We are now using a version number in composer.json to avoid a version number ping-pong.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Jul 4, 2024
1 parent 1ce7a1b commit 1ca99e0
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 38 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "nextcloud/3rdparty",
"version": "dev-stable28",
"description": "All 3rdparty components",
"license": "MIT",
"config": {
Expand Down
82 changes: 50 additions & 32 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php return array(
'root' => array(
'name' => 'nextcloud/3rdparty',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '6b178ba78e6e56dda78f3eec92e60d79e0812c99',
'pretty_version' => 'dev-stable28',
'version' => 'dev-stable28',
'reference' => NULL,
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
Expand Down Expand Up @@ -308,9 +308,9 @@
'dev_requirement' => false,
),
'nextcloud/3rdparty' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '6b178ba78e6e56dda78f3eec92e60d79e0812c99',
'pretty_version' => 'dev-stable28',
'version' => 'dev-stable28',
'reference' => NULL,
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
Expand Down

0 comments on commit 1ca99e0

Please sign in to comment.