Skip to content

Commit

Permalink
Set proper package version during build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Apr 3, 2024
1 parent d0f0c52 commit 1ba3365
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -3,3 +3,8 @@ debian/.debhelper/
debian/composer/
tmp/

/debian/composer.debhelper.log
/debian/composer.postrm.debhelper
/debian/composer.substvars
/debian/debhelper-build-stamp
/debian/files
2 changes: 1 addition & 1 deletion debian/Jenkinsfile
Expand Up @@ -35,6 +35,7 @@ distributions.each {
stage('Checkout ' + distribution) {
buildImage = docker.image(vendor + '/' + distribution)
sh 'git checkout debian/changelog'
sh 'sh debian/setver'
def version = sh (
script: 'dpkg-parsechangelog --show-field Version',
returnStdout: true
Expand Down Expand Up @@ -70,4 +71,3 @@ distributions.each {
}
}
}

19 changes: 17 additions & 2 deletions debian/changelog
@@ -1,4 +1,4 @@
composer (2.5.4) UNRELEASED; urgency=medium
composer (2.7.2) UNRELEASED; urgency=medium

[ root ]
* LICENSE README.md build.sh composer debian Fixed 1.10.2 regression
Expand Down Expand Up @@ -518,7 +518,22 @@ composer (2.5.4) UNRELEASED; urgency=medium
* * Fixed extra.plugin-optional support in PluginInstaller when
doing pre-install checks (#11318)

-- vitex <info@vitexsoftware.cz> Tue, 28 Feb 2023 11:29:14 +0100
[ Vítězslav Dvořák ]
* * Added info about the PHP version when running `composer --
version` (#11866)
* Added warning when the root version cannot be detected (#11858)
* Fixed plugins still being enabled in a few contexts when running
as root (c3efff91f)
* Fixed `outdated --ignore ...` still attempting to load the latest
version of the ignored packages (#11863)
* Fixed handling of broken symlinks in the middle of an install path
(#11864)
* Fixed `update --lock` still incorrectly updating some metadata
(#11850, #11787)
**Full Changelog**:
https://github.com/composer/composer/compare/2.7.1...2.7.2

-- Vítězslav Dvořák <info@vitexsoftware.cz> Wed, 03 Apr 2024 12:51:39 +0200

composer (1.0) EXPERIMENTAL; urgency=medium

Expand Down

0 comments on commit 1ba3365

Please sign in to comment.